Making web service on localhost externally visible
Hopefully this is easy...
I created a web service (vs 2005 beta 2, IIS 5.0, win xp) that is installed locally in localhost. I can successfully access the web service from a client app I wrote and via internet explorer.
my problem is, how do i allow somebody "in the cube next to me" to access the web service? He always gets a "page not found" error. He has tried accessing it via my computer name and ip address. e.g.,
http://MycomputerName/MyServices/MyService.asmx
and
http://123.45.etc/MyServices/MyService.asmx
Any help would be appreciated...
[689 byte] By [
ToddT] at [2007-12-16]
By default, Visual Studio 2005 uses its own web server that doesn't always run. To make you Web Service visible to other users in IIS try the following:
1. In Explorer, right-click on the root of the web service project and choose Properties
2. Select the Web Sharing tab and choose Share this folder
3. Enter the Virtual Directory alias you want to use and click OK and then OK again
Your web service will now be installed at the following location:
http://[COMPUTERNAME]/[ALIAS]/MyService.asmx
thx for the response.
I gave the app root dir read and execute permission and it still doesn't work. For my web service app, the user receives a time out error. For my simple "hello world" aspx page, a blank page is displayed (both work fine when accessing from my computer).
any other suggestions/thoughts? thx in advance.
Can the person in the cube ping your pc?
also at the dos prompt, you can use
telnet 1.2.3.4 80 to see if they are getting to your pc. replace 1.2.3.4 of course.
if the above works, it's a name resolution problem and you'll need to talk with your network person.
If still no joy, are you running xp sp2? You might need to open up your firewall.