Re: Internal/External IP addresses

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Mark Watkin (not.a.valid_at_email.com)
Date: 12/16/04


Date: Thu, 16 Dec 2004 08:54:18 -0000

Thanks, but it doesn't make sense to be DNS, otherwise I wouldn't be able to
access the service at all from externally. Here's the procedure that we have
gone through-
The developer created the webservice on his own machine, and tested it with
a sample Windows application.
We created a new virtual directory on the web server (which is externally
accessible) and copied the necessary files across
We then created another test application using the new server (but from
internally), which worked fine
After going home, I created another test application and added a Web
Reference to the service's external URL
It all came up fine, showing us the test page, so then I clicked the "Add
Reference button", the window disappeared, then a few minutes later, I get a
dialog box stating-

Unable to download following files from .
http://172.16.xxx.xxx/rocket/rocket.asmx?wsdl
Do you want to skip these files and continue?

We have searched all the files, and none of them specify this IP address, or
even has anything like the string "?wsdl"
We were also using the .vsdisco file that visual studio had provided.

 Hope this is a bit clearer

 Cheers,
  Mark

"Dan Rogers" <danro@microsoft.com> wrote in message
news:WQzc6Ft4EHA.3152@cpmsftngxa10.phx.gbl...
> Hi Mark,
>
> IP address resolution is a DNS function. If the URL that your developer
us
> using resolves in his DNS (or his HOSTS file) to a specific "internal" IP
> address, then the change needs to be made in the DNS servers you are
using.
> Alternately, access the service using the IP address you desire (e.g.
> http://123.45.67.89/Myservice.asmx). Another alternative is to register
an
> alternate server name for the public address. It sounds like someone
> registered the wrong IP address if this is happening on public internet.
>
> Regards
> Dan Rogers
> Microsoft Corporation
> --------------------
> >From: "Mark Watkin" <not.a.valid@email.com>
> >Subject: Internal/External IP addresses
> >Date: Wed, 15 Dec 2004 15:36:48 -0000
> >Lines: 9
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >Message-ID: <OsPzSvr4EHA.524@TK2MSFTNGP09.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> >NNTP-Posting-Host: 194.154.180.194
> >Path:
>
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
> phx.gbl
> >Xref: cpmsftngxa10.phx.gbl
> microsoft.public.dotnet.framework.aspnet.webservices:27204
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
> >
> >We have recently put a Web Service on an external web server for testing,
> >however, when it is added as a reference, it is trying to use the
internal
> >IP address instead of the external IP address.
> >
> >Does anyone know why this happens, and how it can be fixed?
> >
> > Cheers
> >
> >
> >
>


Quantcast