Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 14, 2012 06:23 AM by HostingASPNet
May 14, 2012 01:41 AM|LINK
I have created a web service by using MS Visual Web Deveoper 2010 Express and i can access it in my computer that hosts this web service by using IE (http://localhost:49953/CustomerProfile.asmx) and dev 2010 (add reference in another program).
However, i cannot access it in another computer which in the same network (both telnet and IE).
Do you have any ideas on this?
Computer A- ip - 192.168.1.100- this one hosts the web service
Computer B- ip - 192.168.1.101
In comp A, i can telnet the service by "telnet localhost 49953" but CANNOT by using "telnet 192.168.1.100 49953"
In comp B, CANNOT by using "telnet 192.168.1.100 49953" or IE
In addition, there is no any firewall setting bewteen two machines.
Do you guys have any ideas on this? i spent a day on it but no luck. :(
May 14, 2012 01:48 AM|LINK
Normally you can not access develop server trough the network , though try this solution :
After editing applicationhost.config file, your site bindings should like below;
<binding protocol="http" bindingInformation="*:8080:localhost" /> <binding protocol="http" bindingInformation="*:8080:your-machine-name" />
You should run VS as administrator because you are using non-localhost binding. If you don't want to run as administrator you can add URL ACLs
If running VS as administrator doesn't solve your problem, then run IIS Express from command line and see if there are any binding registration failure messages. To start from command line run below command
May 14, 2012 06:23 AM|LINK
It could be antivirus software which block the port for external connections.