Could not establish connection to network

Discussion in 'ASP .Net Web Services' started by EUK, Jun 12, 2006.

  1. EUK

    EUK Guest

    Hi,
    I created a web service in .net 2005. I want to use this web service in my
    smart device application but when I try to reach web services in my pocket pc
    emilator, I take this exception(Could not establish connection to network).
    While I add web refrence to my project I tried the "localhost" and
    "127.0.0.1" but I take the same error message. What can I do?
    EUK, Jun 12, 2006
    #1
    1. Advertising

  2. EUK

    Simon Hart Guest

    The IP address of your webservice will not be localhost or 127.0.0.1 as this
    would be connecting to itself (unless you have a web server running on your
    device?).

    If cradled or connecting via ActiveSync and debugging in this manner, use
    ppp_peer as your IP address.

    Simon.

    "EUK" <> wrote in message
    news:...
    > Hi,
    > I created a web service in .net 2005. I want to use this web service in my
    > smart device application but when I try to reach web services in my pocket
    > pc
    > emilator, I take this exception(Could not establish connection to
    > network).
    > While I add web refrence to my project I tried the "localhost" and
    > "127.0.0.1" but I take the same error message. What can I do?
    Simon Hart, Jun 12, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. C.W.
    Replies:
    1
    Views:
    5,934
  2. Jim Butler
    Replies:
    7
    Views:
    7,387
    Steven Cheng[MSFT]
    Jul 12, 2006
  3. Ted
    Replies:
    3
    Views:
    5,633
  4. Joel Barsotti
    Replies:
    4
    Views:
    6,525
    Joel Barsotti
    Apr 20, 2007
  5. Ghislain Tanguay
    Replies:
    3
    Views:
    201
    suresh g
    Sep 3, 2004
Loading...

Share This Page