发布了一个webservice,用localhost可以访问,换成ip就不行了

WINDYDAY_BB 2010-10-28 03:52:22
我写了个webservice,发布在本机iis,之前一直用localhost,现在想让别人调试试,就现在本机输入http://ip/ws/wsserver.asmx,却发现地址无效。说明下,我的机器以及同事的机器都在公司的内网中,属于同一域名下(非工作组),我想知道,是不是域导致了这种情况,有什么解决办法吗?谢谢
...全文
1305 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
csdnflys 2010-11-18
  • 打赏
  • 举报
回复
把发布的文件直接移动到需要的地方不就可以了吗??
guxiao 2010-11-09
  • 打赏
  • 举报
回复
默认在调试环境下运行,是不需要发布的,我觉得应该是发布在本地IIs下,然后在客户端通过IP引用,这样能运行的话,其他机器运行应该也没有问题。
waterdean 2010-11-06
  • 打赏
  • 举报
回复
在IP后加个端口试试
ronaltn 2010-11-05
  • 打赏
  • 举报
回复
可以改iis运行的端口号的
另外别忘了开放防火墙的对应的端口号
hebeiliuzhao0909 2010-11-04
  • 打赏
  • 举报
回复
客户端防火墙的问题 是瑞星?
宝_爸 2010-10-29
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 kongwei521 的回复:]

自己解决了不错。换成单独别的端口即可
[/Quote]

80都封了,其他估计更没戏了。

我是来接分的。
kokorenfeng 2010-10-28
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 windyday_bb 的回复:]
已经解决了 和域应该没有关系 是80端口的原因 估计公司防火墙禁了80端口 吧iis的设置中端口改一下就能用ip:port访问了。谢谢
[/Quote]
怎么解决问题了,不给分啊,
蝶恋花雨 2010-10-28
  • 打赏
  • 举报
回复
自己解决了不错。换成单独别的端口即可
WINDYDAY_BB 2010-10-28
  • 打赏
  • 举报
回复
已经解决了 和域应该没有关系 是80端口的原因 估计公司防火墙禁了80端口 吧iis的设置中端口改一下就能用ip:port访问了。谢谢
WINDYDAY_BB 2010-10-28
  • 打赏
  • 举报
回复
本地的防火墙已经关掉了。应该不是这个问题。我怀疑是域的问题,准备晚上回家再试试。如果是域的问题有没有什么解决方法?本人对网络一窍不通,等待高人解析。
WINDYDAY_BB 2010-10-28
  • 打赏
  • 举报
回复
Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

Click the Favorites Center button , click Feeds, and then click the feed you want to view.

To view recently visited webpages (might not work on all pages)

Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.


liyf_liyunfeng 2010-10-28
  • 打赏
  • 举报
回复
是不是本机防火墙的缘故。局域网内不应该存在你发生的错误,访问时,报什么错,可不可以贴出来
WINDYDAY_BB 2010-10-28
  • 打赏
  • 举报
回复
我第一次发帖 不明白那个问题点数什么意思?而且我的用户名的点数好像为0 那来的40?

12,162

社区成员

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

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