WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Winsock
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Using 'dotted' IP Address in Internet Extender

Keywords:     nameserved

Question:

httpRecvFile doesn't seem to work for addresses such as "140.211.135.12". Is there a fix for this? Thanks.

Answer:

The Internet Extender will use dotted quad addresses IF the address also happens to reside in the designated nameserver. So to be accessed, the address MUST be nameserved, or at least defined in the local hosts file.

What this means is that basically, if you can find the real name from the dotted-quad ipaddress, e.g. if your client does a:

   ping -a 111.222.333.444
and it shows him the real name of the server, as in:
   www.company.se
then the WinSock extender will work.

Question (cont'd):

Well, I guess that would work over Internet, but inside my client's LAN, behind the firewall and the proxy server and all that stuff, they cannot use "www.company.se" in the web browser (as we can do from outside). They have to use "10.0.2.11".

They use "private" IP numbers behind the firewall. I tried from home to ping their public IP number, with the "-a" parameter, but I didn't get any name in response, just the IP number. Maybe the NT machine doesn't have a name?!

Answer:

10.0.2.11 is an address range reserved for private networks. It is not an internet address.

If on your client's computer, you type in a DOS Window:

   ping -a 10.0.2.11 
AND if you see you www.company.se in the response, then everything is OK. Otherwise the "Internet" extender will not work.

We have posted a new "WinInet" extender that does not need ip addresses to be nameserved...but it requires Windows 98 or at least MSIE 4.0 installed....

Question (continued):

I did the ping test on my client's LAN today, but the pinging doesn't return a name of the server.
C:\WINDOWS>ping -a 10.0.2.11

Pinging 10.0.2.11 with 32 bytes of data:

Reply from 10.0.2.11: bytes=32 time=153ms TTL=116
Reply from 10.0.2.11: bytes=32 time=158ms TTL=116
Reply from 10.0.2.11: bytes=32 time=168ms TTL=116
Reply from 10.0.2.11: bytes=32 time=241ms TTL=116
So, I guess I'll have to find a way to put a name on the NT web-server. But how?

I could of course use the new Internet Extender, but I can't force my client to install Windows 98 or MSIE 4 on every computer on their LAN.

Answer:

Well NT 4.0 Server comes with DNS. It takes a while to set up, then you have to point all the machines at it for DNS services.
Article ID:   W12617
Filename:   Using Dotted IP Addresses.txt
File Created: 2017:07:28:12:58:54
Last Updated: 2001:01:03:12:57:14