2023年12月14日发(作者:)

本文由我司收集整编,推荐下载,如有疑问,请与我司联系 http服务器无法通过内部/专用网络上的浏览器访问

http服务器无法通过内部/专用网络上的浏览器访问[英] http

server not available via browser on internal/private network I’m running a “hello world”

http server using on Fedora 20.

 我在Fedora 20上使用运行一个“hello world”http服务器。

  I can see “hello world” using my Firefox by typing any of the following in my address

bar: 192.168.2.85, localhost, 0.0.0.0, 192.168.122.1

 通过在我的地址栏中输入以下任何内容,我可以使用我的Firefox看到“hello

world”:192.168.2.85,localhost,0.0.0.0,192.168.122.1

  I thought I would be able to open a browser on my wife’s computer when she’s

connected to the same DCHP NAT router, type 192.168.2.85 in the address bar, and see

“hello world”.

 当我连接到同一个DCHP NAT路由器,在地址栏中键入192.168.2.85时,我以为我可以在我妻子的电脑上打开浏览器,然后看到“hello world”。

  However, her Chrome33 says “This webpage is not available” or “Oops! ...could not

connect to 192.168.2.25.” Her IE9 says “...cannot display the webpage.” But from her

command prompt I can ping 192.168.2.85.

 但是,她的Chrome33说“此网页不可用”或“糟糕!...无法连接到192.168.2.25”。她的IE9说“......无法显示网页。”但是从她的命令提示符我可以ping 192.168.2.85。

  On her computer (Windows 7), I tried turning off Windows Firewall and turning off

antivirus.

 在她的计算机上(Windows 7),我尝试关闭Windows防火墙并关闭防病毒软件。

  On my computer, I tried

 在我的电脑上,我试过了

  iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT On our microsoft router, I tried

Persistent Port Forwarding (inbound port range 80-80, private port range 80-80, type TCP,