I've installed the fresh copy of DataGrip and connected to remote Postgres database. When I try to take a look at the data of some table by double-clicking it or when I write some simple query (select * from table_name) I've got very often the following message:
 Ошибка при попытке подсоединения. java.net.SocketTimeoutException: connect timed out
without displaying data.
Please, take a look at the screen shot below.
What's the issue and how to fix it?