ORBit and remote connections



While this seems to be a FAQ lately, I haven't yet been able to find a
solution to this problem.  I have added ORBIIOPIPv4=1 to ~/.orbitrc, and
so ORBit now correctly binds to an INET socket.  However, after looking at
the strace dump, the client seems to be connecting to 127.0.0.1 instead
of the remote IP address.  So it seems that the server side is putting the
wrong IP address in the IOR.

The server:

socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
bind(4, {sin_family=AF_INET, sin_port=htons(0), 
     sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
[...]
getsockname(4, {sin_family=AF_INET, sin_port=htons(38242), 
            sin_addr=inet_addr("0.0.0.0")}}, [16]) = 0


The client:

connect(6, {sin_family=AF_INET, sin_port=htons(38242), 
        sin_addr=inet_addr("127.0.0.1")}, 
        16) = -1 ECONNREFUSED (Connection refused)


How do I correct this?

Thanks in advance,
Jason.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]