Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making web service available to internet 1

Status
Not open for further replies.

bbartlin

Programmer
Jan 8, 2004
35
US
I have created an empty website and added a webservice. I can use the webservice correctly on the server it was created on, however, I need to be able to hit it from other servers (not in a network). How do I make it available to the internet?

I've published the website in VS.Net2005. I'm using ASP.Net 2.0.

I have also added this code to my class to avoid the tempuri message.

[WebService(Namespace = " Description = "This is a demonstration WebService.")]
 
put the service on an IIS server on the internet.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
It is on an IIS server.

A coworker mentioned that i may have to setup the router to know about incoming requests. (linksys router)

Any insight on how to do that?
 
I figured out how to set up my router to open up the port to incoming traffic, but I still cannot see my site from another computer. I have a host header...
everything works fine from the server???
 
Oh, thank you I didnt realize that forum existed. My apologies.
 
i guess you would be behind a firewall. Can you view any of websites on that server from the internet? ie is there a NAT throught the firewall that points to the internal server?
 
My firewall is disabled...This is the first website on this server.

I do not have a NAT configured...do I need to do this even if the firewall is disabled?
 
No, I'm just trying to get it to work at this point...

 
Perhaps you should try to understand it before you change to much and don't know how to get it right again.

Who do you want to visit your site? The world? the local intranet?

Do you know which port is used by http?
80

Do you need other protocols? like https, ftp,...

Christiaan Baes
Belgium

"My old site" - Me
 
Forward port 80 through the router to the correct server. Also you probably want to make sure that anonymous access is turned on in your web site.

Make sure that you have asp.net web extensions turned on for the framework that you want.

I would start out seeing if you can get to a simple html page on the server from the outside first. Then you can narrow it down to an asp.net configuration error.

Please keep in mind that this isn't secure, so if you are concerned about security then you'll need to implement that.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top