无法远程登录 80 端口,nginx

无法远程登录 80 端口,nginx

我的问题是:
我可以telnet在本地访问端口 80,但不能从另一台计算机访问。

以下是我所做的:

  1. 禁用防火墙。

    $ufw disable
    
  2. 执行以下命令:

    $netstat -tlpn |grep nginx
    

    其结果是:

    tcp    0     0 0.0.0.0:80     0.0.0.0:*     LISTEN 3274/nginx: master
    
  3. 查找我的静态 IP 地址:

    $ifconfig
    
  4. 执行

    $telnet my_static_ip_address 80
    

    成功的

  5. 当我从另一台电脑运行此命令时

    C:\> telnet my_static_ip_address 80
    

    我得到了错误

    Connection is refused.
    

可能存在什么问题?

相关内容