How to access to WebService on remote computer

P

Pepi

Hi!

I'm playing with WebServices in C# and when I test my project it
works on machine where is webservice, but when I want to access to
same webservice from remote machine in my local network it doesn't work.
In internet browser i'm opening address for example:
http://remote_computer/WebServ1/Service.asmx but it want to open it.
On both machines is WinXP Pro SP2, and I have IIS 5.0 instalated.
I dont know what to do, and how to configure IIS. I have tryed
everthing but there no effect... Can somebody help me, or give me
some hints about that.

Thanks.

P.
 
A

Alberto Poblacion

Pepi said:
I'm playing with WebServices in C# and when I test my project it
works on machine where is webservice, but when I want to access to
same webservice from remote machine in my local network it doesn't work.
In internet browser i'm opening address for example:
http://remote_computer/WebServ1/Service.asmx but it want to open it.
On both machines is WinXP Pro SP2, and I have IIS 5.0 instalated.
I dont know what to do, and how to configure IIS. I have tryed
everthing but there no effect... Can somebody help me, or give me
some hints about that.

XP with SP2 by default enables a firewall that blocks external access to
IIS. Go into Control Panel, open the Firewall administration, and enable
access to the web server.
 
P

Pepi

Alberto said:
XP with SP2 by default enables a firewall that blocks external access
to IIS. Go into Control Panel, open the Firewall administration, and
enable access to the web server.

Thank you very much Alberto! It works!

I was going crazy... I was thinking that windows firewall automatically
recognize accessing to IIS from remote computer... :(

Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top