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. :(
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
kjackie2002
0 Points
2 Posts
Cannot connect to my web service
May 14, 2012 01:41 AM|LINK
Hello all,
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. :(
Jackie
H_R
Participant
1442 Points
356 Posts
Re: Cannot connect to my web service
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;
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
iisexpress.exe /site:"your-site-name"
----------------
http://stackoverflow.com/questions/5433786/configure-iis-express-for-external-access-to-vs2010-project
www.zenithsystem.se
HostingASPNe...
All-Star
15922 Points
2982 Posts
Re: Cannot connect to my web service
May 14, 2012 06:23 AM|LINK
Hello,
It could be antivirus software which block the port for external connections.
Regards
Free ASP.NET Examples and source code.