Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java.rmi.ConnectException

1 view
Skip to first unread message

lakshmika...@gmail.com

unread,
Nov 16, 2006, 5:59:56 PM11/16/06
to
Hello,
I am getting the following exception when i'm trying to
access the server..from other network[Internet]. the Server is AJAX
Server....
i'm on a networking project...which involves video conferencing also

I want to know all the cases where this problem rises.. and
also steps to Resolve this......

java.rmi.ConnectException: Connection refused to host:
squire.cs.fiu.edu; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at server.AjaxServer.initialize(AjaxServer.java:321)
at server.NanoHTTPD.<init>(NanoHTTPD.java:178)
at server.AjaxServer.<init>(AjaxServer.java:269)
at server.AjaxServer.main(AjaxServer.java:1127)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
... 10 more

Manish Pandit

unread,
Nov 16, 2006, 7:17:41 PM11/16/06
to
lakshmika...@gmail.com wrote:
> Hello,
> I am getting the following exception when i'm trying to
> access the server..from other network[Internet]. the Server is AJAX
> Server....
> i'm on a networking project...which involves video conferencing also
>
> I want to know all the cases where this problem rises.. and
> also steps to Resolve this......
>
> java.rmi.ConnectException: Connection refused to host:
> squire.cs.fiu.edu; nested exception is:
> java.net.ConnectException: Connection timed out: connect


Are you behind a proxy? Can you simply telnet to that port and see if
you are able to connect without using the program? (use telnet <ip>
<port> to check)

-cheers,
Manish

neo_1443

unread,
Nov 16, 2006, 7:22:20 PM11/16/06
to
i tried it....i think its connected because the window is blank with
the blinking cursor and nothing else
0 new messages