Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Java.rmi.ConnectException

Thread view: 
lakshmikanth.sajja@gmail.com - 16 Nov 2006 22:59 GMT
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 - 17 Nov 2006 00:17 GMT
> Hello,
>              I am getting the following exception when i'm trying to
[quoted text clipped - 8 lines]
> 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 - 17 Nov 2006 00:22 GMT
i tried it....i think its connected because the window is blank with
the blinking cursor and nothing else
> > Hello,
> >              I am getting the following exception when i'm trying to
[quoted text clipped - 15 lines]
> -cheers,
> Manish


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.