Web service on my localhost

Hi all,
I want to give others to call a webservice on my localhost. I mean, I want my PC active like internet server to internet clients.
Is it possible.
Please help... 


Answer this question

Web service on my localhost

  • uTILLIty

    It should be possible but is also depending on what operating system you have installed. I am using Windows XP Professional SP2 and can run local webservices for remote usage. The firewall needs to be opened and IIS with .NET set up must be installed.

    If you can access it locally it should be reachable from remote clients if security settings permit it. If you do not have a server operating system there is a limit on the number of concurrent connections, 10 if I recall it correctly.


  • JohnFlemming

    Thanks Andreas,
    I have the same details you mentioned. I want to use this oportunity only for testing application from other client, so I don't have morethan 2 users.

    Can you please write what is the URL the client should type to reach my web service.
    The web service path on my computer is:
    C:\Inetpub\wwwroot\WebService1\Service1.asmx
    I mean: the client has to write an internet URl (http://.....)
    So, what is the URL for my situation.

    Best regards...

  • svip

    When you use Visual Studio to create a web service, Visual Studio should automatically set up a virtual directory for you.  I believe the basic convention is then:
       http://host/virtualdir/myservice.asmx

    Daniel Roth

  • Slesh

    You must find out your external IP. Start a command prompt and run ipconfig

    C:\>ipconfig

    Windows IP Configuration

    Ethernet adapter Local Area Connection:

            Connection-specific DNS Suffix  . : machine.mshome.net
            IP Address. . . . . . . . . . . . : 192.168.100.2
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 192.168.100.1



    You use the IP Address field and then you can replace localhost with that IP to get a remotly accessible webservice. Will probably say some other IP but this is one way to find it out.

    So if you access the webservice by http://localhost/WebService1/Service1.asmx it would now be used as http://192.168.100.2/WebService1/Service1.asmx



  • Web service on my localhost