localhost vs. 127.0.0.1

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Ekki
Posts: 34
Joined: Sun 24 Nov 2013 18:50
Location: Ilmenau, Germany
Contact:

localhost vs. 127.0.0.1

Post by Ekki » Sun 16 Feb 2020 13:29

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: localhost vs. 127.0.0.1

Post by Shalex » Tue 25 Feb 2020 12:05

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

Post Reply