Is it possible to redirect all calls to an external IP on internet, to localhost (without use of hosts)?
I have an old application and I don't have the source code and this application try to connect to a postgres server using an IP
Can I instruct ubuntu to redirect all callings to this external IP to localhost?
In this way, I'll be able to run a postgres server on localhost and work with my application.
note: the application uses the IP, not the dns.