Search Postgresql Archives

Re: psql connection via localhost or 127.0.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John.

On Thu, Nov 6, 2014 at 4:47 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

note that net mask?    the loopback interface is the entire 127.0.0.0/8 network    you can't put a host at 127.0.1.x and expect it to work right.

You can, and it works, it just connects to yourself. Even without names, I have used  connections from 127.100.100.100:10000 to 127.111.111.111:111111 and 127.222.222.222:22222 to 127.233.233.233:23333 when testing some network code, they all bind to loopback and a single packet trace is easier to follow than just changing the ports.

Francisco Olarte.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux