Page 1 of 1

localhost vs. 127.0.0.1

Posted: Sun 16 Feb 2020 13:29
by Ekki
Hi,

since a few weeks I face an issue that my localhost connections do not work anymore in my IIS app on Windows Server 2016. It happens one week +- after reboot.

IIS is up and running, restart does not change anything.
PostgreSql 11.8 is up and running, restart does not change anything.

By passing 127.0.0.1 instead of localhost the issue can be bypassed, or be rebooting the OS.

Any comments on this? I would say 'Windows Server forgets what localhost stands for'... but does this make sense?

Ekki

Re: localhost vs. 127.0.0.1

Posted: Tue 25 Feb 2020 12:05
by Shalex
The issue is not related to the provider functionality.

JIC: refer to https://stackoverflow.com/questions/298 ... -127-0-0-1 and check your entries in \data\pg_hba.con