I have set up a Magento web server as per below
varnish (127.0.0.1:6081) -> magento 2.3 (192.168.1.250:8080)
The varnish is installed in the separate host and Magento is installed in another host.
I'm using the sample data. When I select other links on the home page, the URL is changed from 192.168.1.251:6081 to 192.168.1.250:8080/women.html.
I'm able to access the 192.168.1.251:6081/women.html but if I navigate once again to other sections like men the URL is changed to 192.168.1.250:8080/men.html
I'm using Magento's default varnish config. Need help to overcome this problem.I will provide the required logs.