我的问题是:
我可以telnet
在本地访问端口 80,但不能从另一台计算机访问。
以下是我所做的:
禁用防火墙。
$ufw disable
执行以下命令:
$netstat -tlpn |grep nginx
其结果是:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3274/nginx: master
查找我的静态 IP 地址:
$ifconfig
执行
$telnet my_static_ip_address 80
成功的
当我从另一台电脑运行此命令时
C:\> telnet my_static_ip_address 80
我得到了错误
Connection is refused.
可能存在什么问题?