Solved

Need to make my web service visible to the outside world

Posted on 2010-08-25
9
552 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Assisted Solution

by:thepanch
thepanch earned 150 total points
ID: 33525152
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
ID: 33525183
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
ID: 33525288
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
What, When and Where - Security Threats from Q1

Join Corey Nachreiner, CTO, and Marc Laliberte, Information Security Threat Analyst, on July 26th as they explore their key findings from the first quarter of 2017.

 
LVL 8

Accepted Solution

by:
jimmyray7 earned 350 total points
ID: 33525354
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
 

Author Comment

by:newbieweb
ID: 33527313
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
ID: 33527479
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
ID: 33533466
In addition to the port forwarding, did you create NAT rules per the document I posted?
0
 
LVL 4

Expert Comment

by:thepanch
ID: 33533692
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
ID: 33553979
Thanks.
0

Featured Post

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
A 2007 NCSA Cyber Security survey revealed that a mere 4% of the population has a full understanding of firewalls. As business owner, you should be part of that 4% that has a full understanding.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

635 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