W
W
WindBridges2020-11-11 15:15:43
firewall
WindBridges, 2020-11-11 15:15:43

Something is blocking HTTP traffic between WSL2 (Ubuntu) and Nginx server on Windows 10. How to fix it?

The host is assigned IP 172.23.16.1, from under WSL2 it pings fine, but when you try to do `wget 172.23.16.1` or `telnet 172.23.16.1` it hangs pending. I don’t understand whether the firewall is cutting the connection somewhere, or whether Nginx itself does not want to accept a connection that is not from a local address. The request does not appear in the nginx log. How to figure it out?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WindBridges, 2020-11-11
@WindBridges

I solved the problem by disabling the rule for blocking incoming connections to nginx in Windows Firewall.

D
Drno, 2020-11-11
@Drno

Nginx on Windows... and you know a lot...)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question