Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting topostgreSQL server

Поиск
Список
Период
Сортировка
От Keith Yanase
Тема Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting topostgreSQL server
Дата
Msg-id CADxFd5kvki-xUajEsXr9mDxaBpQ=bG2U_hqfr2vXwFnCB6SE_g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting topostgreSQL server  (Clemens Ladisch <clemens@ladisch.de>)
Список pgsql-odbc
I ran the command and when I tel psqlODBC to connect to localhost:5432 I get this message in the terminal:
Channel 3: open failed: connect failed: connection refused

Are my connection settings in psqlODBC correct?
Data Source: PostgreSQL30
Database: database
Server: localhost
Port: 5432

I didn’t enter credentials (un/pw) since I’m connecting to localhost - is that a correct assumption? 

On Sun, Jan 19, 2020 at 10:58 AM Clemens Ladisch <clemens@ladisch.de> wrote:
Keith Yanase wrote:
> The server only allows SSH tunneling. I’m able to establish the SSH tunnel with the command: ssh jupyter
> but how do I tell psqlODBC to connect to that port?

Run "ssh -L bindaddress:localport:remoteserver:remoteport sshserver", where
"remoteserver" is the host name you want to connect to, from the point of
view of the SSH server.

So run "ssh -L localhost:5432:localhost:5432 jupyter", and tell psqlODBC to
connect to localhost:5432.


Regards,
Clemens

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Clemens Ladisch
Дата:
Сообщение: Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting topostgreSQL server
Следующее
От: Clemens Ladisch
Дата:
Сообщение: Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting topostgreSQL server