Click here to Skip to main content
15,921,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all

I'm sorry for the stupad queshtion but I heavn't founed any awnser for it

how can i access my freshly built web service from my ip and not via localhost
I've tryed to write this URL in my Browser. but it didnt work

MyIP:50779/MyWebSite/MyWebService.asmx


P.S im using a URL to access my web service, it redirect's to my IP

(theres a program named NO-IP that dose it)

Thank you in advance, Tsahi.
Posted
Updated 19-Oct-11 9:12am
v2

AFAIK it will only work if you are running IIS or similar on the computer - does your PC normally host websites? If it doesn't, then it won't work.

Normally, the web service is hosted by a web server - either your own or at your hosting service.

There is a quick guide to getting a WCF web service running on a web host here: How to get a basic WCF service working on a web hosting service[^]
 
Share this answer
 
Comments
tsahi-al 19-Oct-11 15:21pm    
thenx for helping me:D
but Its not what i need,
basicly im gonna use this service at Windows form app (VB.net based)

im using a program named no ip, basicly evey time that a program refer to my URL it redirect's them to my IP

so basicly instead of writing my IP im writing a URL
Ip adresses are a series of 4 numbers separated by '.' dots.

Use the following command in the command prompt to get your ip address
C:\> ipconfig


Then use that number instead of 192.168.1.1 as follows :
Http://192.168.1.1/MyWebSite/MyWebService.asmx
 
Share this answer
 
Comments
tsahi-al 19-Oct-11 15:22pm    
thenx for helping me
but it ain't working m8
im using a program named no ip, basicly evey time that a program refer to my URL it redirect's to my IP

so basicly instead of writing my IP im writing a URL

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900