views:

25

answers:

1

I have designed a chat application working on the lan succesfully. but when i try to run this on wan i got a exception

java.rmi.connectioException : connection refused to host:122.168.243.31

can any one help me . thanks in advance

A: 
mayank rungta
Try looking at: http://stackoverflow.com/questions/3044590/java-rmi-cannot-connect-to-host-from-external-client. Really there is probably no problem with your code since it is working locally. We need to be looking at your network setup because it is probably a firewall, NAT, routing, or other network issue that is preventing this from working.
rancidfishbreath