Solved

Need to make my web service visible to the outside world

Posted on 2010-08-25
9
532 Views
Last Modified: 2012-06-27
I have my web service running here:

http://localhost/poswebservice/mobileservice.asmx

but I need to make it visible to the outside world.

I have configured in (in IIS) to use port 80.  What do I need to do on my Cisco router to make it visible to the Internet?

Thanks,
newbieweb
0
Comment
Question by:newbieweb
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Assisted Solution

by:thepanch
thepanch earned 150 total points
Comment Utility
you need to find, if your isp is able to let you be in mode "dmz" that means you got an ip able to be accesed by all user over the internet, if so, you just need to set the "dmz" to the computer is runing the webservice and then, just change the path http://---- DMZ ip ---/poswebservice/mobileservice.asmx, if you dont want to use the ip, or you cant get into dmz mode, then i suggest you to use the no-ip service, you can find it on google. and it comes with a very well explained documentation.

I hope it works
0
 

Author Comment

by:newbieweb
Comment Utility
I have no problem routing the IP to the PC.  I use DynIP, which has worked for years for me.  

The problem I have involves opening up a port.

I hope you'd explain what exactly I need to do there.

Is this "Port Forwarding"?  I configure my router to forward port 80 to that exact machine where the service is running.

The complexity may be that I must also configure my router so that this machine has a static address within the network.  Otherwise, starting machines in a different order can cause the forwarded port to go to the wrong machine.

Is this all right?

I hope for some confirmation I am doing the right thing.  And that there's nothing else to do...

Thanks,
newbieweb

0
 
LVL 4

Expert Comment

by:thepanch
Comment Utility
when you got the dmz, you dont need to do porf forwarding, by default dmz pc has all access, and thats why it is called dmz, demilitarized zone, so you are vulnerable there.
0
 
LVL 8

Accepted Solution

by:
jimmyray7 earned 350 total points
Comment Utility
The DMZ info the panch gave is if you want to put that server on a public IP.  It's not port forwarding, the server itself would be sitting on the public internet.

Your idea of port forwarding is probably the better plan.  See this document to set up the access lists and NAT (needed to translat your private address to the public IP):

http://www.cisco.com/en/US/tech/tk175/tk15/technologies_configuration_example09186a0080093e51.shtml

And you are correct, you should set your server to a static IP so that it doesn't change.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:newbieweb
Comment Utility
I use myname.dynip.com which points perfectly at my server, for SubVersion.  It's worked for years.

Tonight I have forwarded port 8182 to the server where my web service (MobileService) and SubVersion are running.

On the server, this resolves fine:
http://localhost:8182/poswebservice/mobileservice.asmx

But outside the network, this fails:
http://pp1001.dynip.com:8182/poswebservice/mobileservice.asmx

In IIS I right clicked, chose Peroperties, the entered 8182 for TCP Port.

Is this right?
Is there anything else I must do?
0
 

Author Comment

by:newbieweb
Comment Utility
Should this command work inside the network where the server resides?

If the port forwarding is working, does this work on other PC's in the network?  Or stil just from the actual server?

http://localhost:8182/poswebservice/mobileservice.asmx

0
 
LVL 8

Expert Comment

by:jimmyray7
Comment Utility
In addition to the port forwarding, did you create NAT rules per the document I posted?
0
 
LVL 4

Expert Comment

by:thepanch
Comment Utility
localhost always search inside your pc is the same as 127.0.0.1 is a loop back to you
i hope it works
0
 

Author Closing Comment

by:newbieweb
Comment Utility
Thanks.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now