Home How to add ifconfig alias for postgres for docker usage (pg on host machine) (macOS)
Reply: 0

How to add ifconfig alias for postgres for docker usage (pg on host machine) (macOS)

idchlife
1#
idchlife Published in 2018-01-13 08:49:33Z

I'm trying to add 127.0.0.2 and another IP for postgres, but it seems not to be working.

If I telnet to 127.0.0.1 5432 everything is ok, also psql is connecting. But if I use alias created with ifconfig I'm getting connection refused on my host machine as well as from docker container. Alias IP is available, though. So I guess I need to add ports to my alias or something?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.321133 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO