Source

Junior Spellweaver
Joined
Jul 19, 2011
Messages
152
Reaction score
2
Hello,
i get this error when i start my source *.bat*

tiredstory = my source
and when i start it this is what i get:

Code:
Exception in thread "main" java.rmi.ConnectException: Connection refused to host
: localhost; 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 net.channel.ChannelServer.main(ChannelServer.java:443)
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 com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknow
n Source)
        at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
        ... 6 more
Exception in thread "main" java.lang.RuntimeException: Could not connect to worl
d server.
        at net.login.LoginServer.run(LoginServer.java:94)
        at net.login.LoginServer.main(LoginServer.java:137)
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nes
ted 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 net.login.LoginServer.run(LoginServer.java:84)
        ... 1 more
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 com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknow
n Source)
        at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
        ... 7 more
Press any key to continue . . . Press any key to continue . . .
 
are you sure you have set it up correctly. also check your bats, im not sure but its good to see if you have made them and compiled since i see the cannot connect to world bat issue, other then that pm me if you want me to set up your server but only if ur totaly stuc

are you sure you have set it up correctly. also check your bats, im not sure but its good to see if you have made them and compiled since i see the cannot connect to world bat issue,also check your db, other then that pm me if you want me to set up your server but only if ur totaly stuck
 
Upvote 0
I had this prob but i fixed it Run World - Channel - Login it should work then cause the launcher doesnt launch it properly and i did that and i fixed for meh
 
Upvote 0
Back