Computer with multiple IP addresses problem - server binds to one of the IP addresses, local client connects to localhost and fail to connect
Hi, I have a Windows 7 Pro 64-bit. When I run ipconfig on my computer, I can see list of multiple IP addresses, one of them is from my gateway modem which is this. Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : gateway.2wire.net Link-local IPv6 Address . . . . . : fe80::9d60:35ae:89e5:b8a9%15 IPv4 Address. . . . . . . . . . . : 192.168.1.73 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.254 When I run Oracle forms server on my machine, the server binds its server socket on this IP address 192.168.1.73. Here is the output of netstat. TCP 192.168.1.73:49240 tequila:0 LISTENING The problem is the client (which is a program running locally) is trying to connect to 127.0.0.1 port 49240 and it is not able to connect. If I try to manually run cmd and run telnet 192.168.1.73 49240, I am able to connect to the forms server socket. So I know the forms server is up and running. It is just it is not listening on 127.0.0.1 - it is listening on 192.168.1.73. If I run the same forms server in Windows XP, it binds itself to the name of the machine. TCP vodka:6203 vodka:0 LISTENING This is good because the client is able to connect. I have a Windows hosts entry that maps vodka back to 127.0.0.1. But in Windows 7, what should I do to solve this issue? My thought are as follows. 1. Is there a setting in Windows 7 so that any server socket will listen to the hostname instead of IP address? 2. Or is there a setup or program in Windows 7 to make any connection to IP address 192.168.1.73 routed to 127.0.0.1. Your help is very much appreciated! Thanks, RH
June 4th, 2011 8:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics