Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hey guys.
Assume that I have created a ASP.NET webservice(or XML webservice) and hosted on IIS web server. I dont have client-server architecture within my network. All computers are connected to router. The question is how a webservice can be accessed outside LAN network? Webservice works on HTTP and router/firewall does not block port 80.so outside a LAN, can anyone access the service from my computer? Does this also needs port forwarding?
Posted 19-Feb-12 0:05am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

"Client/server" has nothing to do with the architecture of your network or how your clients are connected to whatever. Googe it.
 
This question has nothing to do with the configuration of your web server, but of your network. If the outside world has a route to your web server, they can see the web service. If not, then they can't. It's that simple.
 
Now, if you need, but don't have, a server dedicated to the outside internet, you have a rather large design problem with your network. The server should be firewalled off so it's the only thing that an external client can see, and only on certain ports. You also have to make sure your router config is correct to support this.
 
If you just expose your entire network to the internet, including your server, you're exposing your client machines to a VERY hostile world.
  Permalink  
Comments
tonydsouza1987 at 19-Feb-12 11:38am
   
thank you Dave for your quick reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 200
1 PIEBALDconsult 150
2 BillWoodruff 148
3 Jochen Arndt 135
4 DamithSL 130
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 19 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100