Link to home
Start Free TrialLog in
Avatar of rwalt
rwalt

asked on

IP address not working

  When I use 127.0.0.1 as the IP to send to the program works fine. But when I change it to my real IP it dosn't work. I've read the help in VB and it looks like it should work but it dosn't. Can anyone help me?
Thanks
Avatar of Poddy
Poddy

can you ping yourself in a command window?
You are part of a network that uses tcpip or are you a standalone machine.

In case of a stand alone machine, you should have a DNS. So install DNS on your machine in that case.
Avatar of rwalt

ASKER

I'm on a stand alone machine and DNS works fine. It just when I use any other IP then the loopback 127.0.0.1 the packets don't go through. I don't understand why DNS would be used when not resoling anything.
If you are dialed in it will make a big difference.  If you are dialed in, then a lot of things can happen.  You could be using an address that is also present on the internet.  The best way to avoid this is designate your machine with a 10.?.?.? address.  That is not used on the internet.

Good Luck,
Martin
Avatar of rwalt

ASKER

I can ping myself and that works fine. I'm dialed in to my ISP and I've got a dynamic IP. I need to be able to input different IPs and have the app connect to them under TCP. The IP that I would be using would already be in use on the Internet.
When you are properly connected, could you run the utility: ipconfig (win nt) or winipcfg (windows 9x) and post the information here.  Could you also tell me some of the address you are trying to hit?  Are the addresses supposed to be on the internet?

Later,
Martin
Try to ping your own IP address, if it can not work, try to change to another IP address as the IP address might be conflict
Avatar of rwalt

ASKER

I can ping my address and my friend's address fine. We're both on the Internet and not on a network. I don't have ipconfig or winipcfg on my machine. My IP is in the 199.3.0.0 block and so is my friends.
ASKER CERTIFIED SOLUTION
Avatar of cyber123
cyber123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwalt

ASKER

Thanks anyway but I figured it out. But that IPCheck was useful so here's your points.