Tomcat internal network can access the external network can not access the problem

1. Make sure your firewall
2. Create a new inbound rule, if your ports are 80, 8080, 443, you must add these ports as attached
3. In windows: Modify the file in C:\WINDOS\system32\drivers\etc\hosts , take the above example as an example, modify it to 127.0.0.1 www.xxx.com

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326621076&siteId=291194637