请教各位大虾一个关于resin的问题

csdncsdncsdn 2002-05-27 04:02:11
我用resin,在resin.conf中将站点目录移到自建目录下如下所示:
<app-dir>f:\site4</app-dir>

<!-- the http port -->
<http port='8000'/>

<!--
- The srun port, read by both JVM and plugin
- 127.0.0.1 is the localhost
-->
<srun host='127.0.0.1' port='6802'/>
但启动resin后在IE中输入http://localhost:8000却出错
信息如下,
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://localhost:8000/

The following error was encountered:

Unable to determine IP address from host name for localhost
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.

奇怪的是为何局域网内部的其他机器却可输入我的
机号和端口号访问所建站点.请教各位大虾给以具体解决方案,
这两天一直郁闷的小弟感激不尽!!!!!

...全文
23 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
csdncsdncsdn 2002-05-27
成功了!!!谢谢!!!
回复
csdncsdncsdn 2002-05-27
是的!肯请大虾指教
回复
weidegong 2002-05-27
http://127.0.0.1:8000/ 这样那?
回复
发动态
发帖子
Web 开发
创建于2007-09-28

7.9w+

社区成员

Java Web 开发
申请成为版主
社区公告
暂无公告