我最近注册了域名 politicsapp.us
与GoDaddy和我正在尝试使用WampServer在我的本地计算机上设置服务器。我把它全部设置了,但当我在浏览器中输入它时,它给了我 ERR_CONNECTION_TIMED_OUT
我首先尝试ping URL并得到以下响应
C:\Users\Admin>ping politicsapp.us
Pinging politicsapp.us [71.228.29.37] with 32 bytes of data:
Reply from 71.228.29.37: bytes=32 time=18ms TTL=63
Reply from 71.228.29.37: bytes=32 time=10ms TTL=63
Reply from 71.228.29.37: bytes=32 time=11ms TTL=63
Reply from 71.228.29.37: bytes=32 time=13ms TTL=63
Ping statistics for 71.228.29.37:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 18ms, Average = 13ms
C:\Users\Admin>
所以ping工作。域名指向正确的位置。我检查了我的路由器,端口80实际上是转发到这台机器。但 PortChecker 告诉我我的港口已关闭。我添加了一个规则,允许Windows防火墙中的所有传入端口80连接。
有什么问题?
一些额外的请求信息:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> netstat -abo | FINDSTR LISTENING
TCP 0.0.0.0:21 Admin-PC:0 LISTENING 1552
TCP 0.0.0.0:80 Admin-PC:0 LISTENING 4024
TCP 0.0.0.0:135 Admin-PC:0 LISTENING 832
TCP 0.0.0.0:445 Admin-PC:0 LISTENING 4
TCP 0.0.0.0:3306 Admin-PC:0 LISTENING 2644
TCP 0.0.0.0:5357 Admin-PC:0 LISTENING 4
TCP 0.0.0.0:12025 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12110 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12119 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12143 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12465 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12563 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12993 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:12995 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:27275 Admin-PC:0 LISTENING 1300
TCP 0.0.0.0:49152 Admin-PC:0 LISTENING 504
TCP 0.0.0.0:49153 Admin-PC:0 LISTENING 932
TCP 0.0.0.0:49154 Admin-PC:0 LISTENING 628
TCP 0.0.0.0:49155 Admin-PC:0 LISTENING 996
TCP 0.0.0.0:49165 Admin-PC:0 LISTENING 616
TCP 0.0.0.0:49626 Admin-PC:0 LISTENING 4716
TCP 127.0.0.1:12025 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12110 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12119 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12143 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12465 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12563 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12993 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:12995 Admin-PC:0 LISTENING 1300
TCP 127.0.0.1:14147 Admin-PC:0 LISTENING 1552
TCP 127.0.0.1:27275 Admin-PC:0 LISTENING 1300
TCP 192.168.1.34:139 Admin-PC:0 LISTENING 4
TCP [::]:21 Admin-PC:0 LISTENING 1552
TCP [::]:80 Admin-PC:0 LISTENING 4024
TCP [::]:135 Admin-PC:0 LISTENING 832
TCP [::]:445 Admin-PC:0 LISTENING 4
TCP [::]:3306 Admin-PC:0 LISTENING 2644
TCP [::]:5357 Admin-PC:0 LISTENING 4
TCP [::]:49152 Admin-PC:0 LISTENING 504
TCP [::]:49153 Admin-PC:0 LISTENING 932
TCP [::]:49154 Admin-PC:0 LISTENING 628
TCP [::]:49155 Admin-PC:0 LISTENING 996
TCP [::]:49165 Admin-PC:0 LISTENING 616
TCP [::]:49626 Admin-PC:0 LISTENING 4716
TCP [::1]:12025 Admin-PC:0 LISTENING 1300
TCP [::1]:12110 Admin-PC:0 LISTENING 1300
TCP [::1]:12119 Admin-PC:0 LISTENING 1300
TCP [::1]:12143 Admin-PC:0 LISTENING 1300
TCP [::1]:12465 Admin-PC:0 LISTENING 1300
TCP [::1]:12563 Admin-PC:0 LISTENING 1300
TCP [::1]:12993 Admin-PC:0 LISTENING 1300
TCP [::1]:12995 Admin-PC:0 LISTENING 1300
TCP [::1]:14147 Admin-PC:0 LISTENING 1552
TCP [::1]:27275 Admin-PC:0 LISTENING 1300
PS C:\Windows\system32>
不,我无法从两者中的任何一个访问该网站。 @Steven
—
Jay S.
您的WAMPServer是否设置为“在线”模式?如果没有,您的Apache服务器将只接受来自本地计算机的连接。
—
Steven
是的,它被设置为在线模式@Steven
—
Jay S.
是的,它是绿色的@Steven
—
Jay S.