紧急,各位高手请过来看看,愿高分相赠。。。。。。(100分)

  • 主题发起人 主题发起人 billxu
  • 开始时间 开始时间
B

billxu

Unregistered / Unconfirmed
GUEST, unregistred user!
我在win2000server服务器上安装了apache后,输入地址http://127.0.0.1/test.htm后能看到,
但是输入真正的ip地址(例如:http://192.168.0.123/test.htm)后却看不到网页,不知是何原因,很急!!!
望各位高手指点迷津。。。。
 
没有解域
 
``````````````````````````UP
 
to leezero:
没有解域??不明白。。
 
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````沉默
 
你直接用的真实IP地址,不用域名解析。可能是端口问题,你看你的Apache的设置,打开的是80端口吗?如果不是,
在浏览器中地址栏IP地址后面加“:(你的端口号)”如打开的是8080端口。
http://192.168.0.123:8080/test.htm
或者在Apache中设置端口为浏览器默认的80。
另外还要注意端口冲突问题。
 
太简单了,你的操作系统的网络接口不通,比如你的网卡没有插网线。
127的地址是定义为环回路由的,所以可以直接访问到本机,而网卡配置
的ip地址操作系统会通过网络接口(也就是你的网卡)去确定路由,如果
网卡不可用,那么操作系统不能确定路由,于是就无法访问。
 
看不到网页,报告的是什么
ping 192.168.0.123 通吗
 
呵呵,这问题以前碰过,
我上次是因为网络设置的问题。
如Pipi大侠所说,试 ping 192.168.0.123,看通不通
 
你再试两次
 
汗颜中.....
我拿到半截就开跑,没看到这句"输入地址http://127.0.0.1/test.htm后能看到",纯属误导..
检讨...
猪猪说的对,很可能是这种情况.偶也遇到过,不过我没网卡,后来用的虚拟网卡,WIN2000里面自带有的,
我已经忘罗,如果需要,自己查查.[:)]
 
在址中加入端口号就可以了
 
多人接受答案了。
 

Similar threads

D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
后退
顶部