使用除端口80之外的浏览器使用Web服务 [英] Consuming Web Service from browser using other than port 80
问题描述
我已经完成了在IIS上运行我的webservice的所有工作。 IIS池正在侦听端口81,我从端口8081到我的网络内的端口81进行端口传输,目标是我的服务器。当我键入http://xxx.com:8081/WebServiceName.asmx时,它返回我的Web服务页面以使用我的WebMethods。所以我选择一个我的WebMethods,填充参数,当我按下Invoke Button时,它将URL地址更改为http://xxx.com:81/WebServiceName.asmx/WebMethodName,因为端口81不应该接收任何外部请求,它没有回复。
我做错了什么,或者丢失了什么?
I already did everything to run my webservice on IIS and it is working. IIS Pool is listening to port 81, and i did port fowarding from port 8081 to port 81 inside my network, aiming for my server. When i type http://xxx.com:8081/WebServiceName.asmx it returns my web service page to consume my WebMethods. So I choose one my WebMethods, fill the parameters, and when i press Invoke Button, it changes the URL Address to http://xxx.com:81/WebServiceName.asmx/WebMethodName, and since port 81 should not receive any external request, its does not respond.
What am i doing wrong, or missing?
推荐答案
以后没有人能够解决这个问题,我也把81端口的端口发送到我的Web服务器并解决了我的问题。
Well since no one has acheived to solve this, i did port fowarding on 81 to my Web Server too and solved my problem.
这篇关于使用除端口80之外的浏览器使用Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!