Both boxes in question are RHEL5.
I have a python RPC server running on localhost port 8000. When a client running on the same machine tries to connect, everything works great. When a remote client attempts to connect, we get no response.
netstat shows the process running at 127.0.0.1:8000, which seems to be the problem if I want to allow remote connectors.
I've forwarded the ports on the router, and using tcpdump I can watch the RPC calls come in to port 8000, but they all fail and the RPC Server never gets the message.
The server config allows me to put the host name in: server = SimpleXMLRPCServer(("localhost", 8000))
Trying our domain in place of localhost still results in 127.0.0.1 since our /etc/hosts file looks like:
127.0.0.1 localhost.localdomain localhost 127.0.0.1 staging.<ourdomain>.com
I then changed /etc/hosts to:
127.0.0.1 localhost.localdomain localhost 192.168.1.140 staging.<ourdomain>.com testserver
I've changed the local IP to the server IP, and still nothing. netstat will show the IP from the hosts file on the staging..com line.
How do I get a process to run on :::8000, or 0.0.0.0:8000, or any permutation that would allow a remote client to connect?