我正在尝试连接到在我的 mac OSX 1.6 上运行的网络服务器。我可以使用http://127.0.0.1:8888/myapp在本地连接到它,但是当我尝试使用我机器的本地 IP 地址连接到它时(http://192.168.1.15:8888/myapp IP 如下所示)来自同一台机器(或网络上的另一台机器)我无法连接。我可以ping通局域网IP地址。
我尝试将 IP 转发添加到我的路由器的 8888 端口,但没有帮助。我已经检查并禁用了 OSX 防火墙
谁能建议还有什么阻止了连接?
这是我运行 ifconfig 时得到的结果:
~ :ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:1f:5b:e8:16:4d
media: autoselect status: inactive
supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control> none
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::21e:c2ff:febf:4809%en1 prefixlen 64 scopeid 0x5
inet 192.168.1.15 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:1e:c2:bf:48:09
media: autoselect status: active
supported media: autoselect
fw0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 4078
lladdr 00:1f:5b:ff:fe:2b:b3:3c
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
en5: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 00:1e:c2:8e:0f:45
media: autoselect status: inactive
supported media: none autoselect 10baseT/UTP <half-duplex>
en2: flags=8922<BROADCAST,SMART,PROMISC,SIMPLEX,MULTICAST> mtu 1500
ether 00:1c:42:00:00:00
media: autoselect status: inactive
supported media: autoselect
en3: flags=8922<BROADCAST,SMART,PROMISC,SIMPLEX,MULTICAST> mtu 1500
ether 00:1c:42:00:00:01
media: autoselect status: inactive
supported media: autoselect