TheBaron
15 Sep 2004, 8:01pm
this is copied directly from my mom, with all IP's other than localhost removed for the sake of security. shes just saying one IP repeatedly, so all 00.00.000.000's are the same.
hardware is an SMC router with broken DHCP, but that shouldn't have anything to do with this. we need to keep the router firewall enabled
Now a question. You know I've got a server at home that I've exposed through the router by designating it's ip address and port as a virtual server. I tell people to execute my stuff at the ip address of the cable modem (00.00.000.000 these days), using the port I designated. This all works fine. Except for one thing -- some of the tests I have to run involve me calling myself as well as the other guys Web services calling me. And I can't invoke my own stuff (actually what I'm saying is that one of my Web services can't invoke another of my Web services) using the external IP address (00.00.000.000:9080) -- get a connection refused exception. Works fine if I invoke my stuff using localhost, but localhost doesn't cut it in the interop test environment. Any idea what I might do to make the external IP address work with the router controlling things (I'd really like to keep the hacker filtering and firewall that the router provides intact)? One other thing -- I believe that this will work just fine if I bypass the router altogether and plug the cable modem directly into my machine (did this last year, but you really are exposed when you do this).
The only thing I've considered (which I haven't tried yet) is to maybe update my Windows hosts file in some way to indicate 00.00.000.000 is [also] localhost? Since I already have something assigned to localhost (127.0.0.1 I think) , I don't know if that is even legal. But I might be on the right track. Or if you think the problem is in the router config rather than the machine itself, there might be something to configure there that I missed. I'm open to suggestions if you have any.
hardware is an SMC router with broken DHCP, but that shouldn't have anything to do with this. we need to keep the router firewall enabled
Now a question. You know I've got a server at home that I've exposed through the router by designating it's ip address and port as a virtual server. I tell people to execute my stuff at the ip address of the cable modem (00.00.000.000 these days), using the port I designated. This all works fine. Except for one thing -- some of the tests I have to run involve me calling myself as well as the other guys Web services calling me. And I can't invoke my own stuff (actually what I'm saying is that one of my Web services can't invoke another of my Web services) using the external IP address (00.00.000.000:9080) -- get a connection refused exception. Works fine if I invoke my stuff using localhost, but localhost doesn't cut it in the interop test environment. Any idea what I might do to make the external IP address work with the router controlling things (I'd really like to keep the hacker filtering and firewall that the router provides intact)? One other thing -- I believe that this will work just fine if I bypass the router altogether and plug the cable modem directly into my machine (did this last year, but you really are exposed when you do this).
The only thing I've considered (which I haven't tried yet) is to maybe update my Windows hosts file in some way to indicate 00.00.000.000 is [also] localhost? Since I already have something assigned to localhost (127.0.0.1 I think) , I don't know if that is even legal. But I might be on the right track. Or if you think the problem is in the router config rather than the machine itself, there might be something to configure there that I missed. I'm open to suggestions if you have any.