nginx - If the http proxy port built in go language is 80, will it have the same effect as the domain name resolved to the server IP?
天蓬老师
天蓬老师 2017-06-24 09:44:28
0
1
1643

For example, I used go to build an http proxy. The IP is 192.168.1.100 and the port is 80. After testing the proxy, there is no problem. Now I resolve a domain name to this IP. Direct access is not possible. If you want to achieve this effect, you should How to do it, forward it once with nginx?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
世界只因有你

When go starts, is it bound to the IP address instead of 0.0.0.0? Use netstat -antp to check that the local computer of go is 0.0.0.0:80

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template