Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Access web service from another local machine

Access web service from another local machine

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpquestiondelphisecurity
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    god_bless_the_world
    wrote on last edited by
    #1

    Hi, I have created a webservice LoginWS for login authentication on a machine with the ip address as 192.168.10.3. I can access the webservice on that machine with the url http://192.168.10.3/Project1/LoginWS.asmx. The web service for login authentication works like a charm when I access it on the localhost. Now, I have another machine 192.168.10.5 on the same network. How do I access the above mentioned webservice from this machine? I used the above mentioned URL, it gave a internal server error.:confused: Could any of you kindly let me know how to make it work?? Thanks in advance for your help.... In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

    E 1 Reply Last reply
    0
    • G god_bless_the_world

      Hi, I have created a webservice LoginWS for login authentication on a machine with the ip address as 192.168.10.3. I can access the webservice on that machine with the url http://192.168.10.3/Project1/LoginWS.asmx. The web service for login authentication works like a charm when I access it on the localhost. Now, I have another machine 192.168.10.5 on the same network. How do I access the above mentioned webservice from this machine? I used the above mentioned URL, it gave a internal server error.:confused: Could any of you kindly let me know how to make it work?? Thanks in advance for your help.... In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

      E Offline
      E Offline
      enjoycrack
      wrote on last edited by
      #2

      How about if u add this web service reference from another local machine using Visual Studio? And can u post the error u got? so that it's eaiser.... ;( << >>

      G 1 Reply Last reply
      0
      • E enjoycrack

        How about if u add this web service reference from another local machine using Visual Studio? And can u post the error u got? so that it's eaiser.... ;( << >>

        G Offline
        G Offline
        god_bless_the_world
        wrote on last edited by
        #3

        First of all, thanks a lot for your reponse.. Actually, I am not trying to access it using a client program. I just wanted to access the webservice on 192.168.10.3 from the machine 192.168.10.5. When I use the url http://192.168.10.3/Project1/LoginWS it gaves a HTTP 500 Internal server error and says that the page can not be displayed. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

        E G 2 Replies Last reply
        0
        • G god_bless_the_world

          First of all, thanks a lot for your reponse.. Actually, I am not trying to access it using a client program. I just wanted to access the webservice on 192.168.10.3 from the machine 192.168.10.5. When I use the url http://192.168.10.3/Project1/LoginWS it gaves a HTTP 500 Internal server error and says that the page can not be displayed. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

          E Offline
          E Offline
          enjoycrack
          wrote on last edited by
          #4

          Actually, it's weird probs :doh:. Becoz there is a ton of reasons if u google it ;(. Let's try with a client program. Maybe it shows more friendly error msg. so that we can guess << >>

          1 Reply Last reply
          0
          • G god_bless_the_world

            First of all, thanks a lot for your reponse.. Actually, I am not trying to access it using a client program. I just wanted to access the webservice on 192.168.10.3 from the machine 192.168.10.5. When I use the url http://192.168.10.3/Project1/LoginWS it gaves a HTTP 500 Internal server error and says that the page can not be displayed. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            Disable "Show friendly HTTP error messages" in the Advanced settings in Internet Options in Internet Explorer. Then you will see the error message that come from the server. --- b { font-weight: normal; }

            G 1 Reply Last reply
            0
            • G Guffa

              Disable "Show friendly HTTP error messages" in the Advanced settings in Internet Options in Internet Explorer. Then you will see the error message that come from the server. --- b { font-weight: normal; }

              G Offline
              G Offline
              god_bless_the_world
              wrote on last edited by
              #6

              I got the answer from a friend's friend....I had to enable the application to work on port 80. It was using some other port before that In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups