请教各位大虾一个关于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.

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

...全文
41 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
csdncsdncsdn 2002-05-27
  • 打赏
  • 举报
回复
成功了!!!谢谢!!!
csdncsdncsdn 2002-05-27
  • 打赏
  • 举报
回复
是的!肯请大虾指教
weidegong 2002-05-27
  • 打赏
  • 举报
回复
http://127.0.0.1:8000/ 这样那?

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧