[jboss-user] [JNDI/Naming/Network] - Re: Failed to connect to server 10.0.1.170:1099
ccc7919
do-not-reply at jboss.com
Wed Aug 2 17:04:50 EDT 2006
the port 1099 was working so that I changed the port to 1199 which is open as below:
C:\Documents and Settings\charliecha.THG_NEW>telnet localhost 1199
| Connecting To localhost...Could not open a connection to host on port 1199 : Con
| nect failed
But same result
DEBUG org.jnp.interfaces.NamingContext - Failed to connect to 10.0.1.170:1199
| javax.naming.CommunicationException: Failed to connect to server 10.0.1.170:1199 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.0.1.170:1199 [Root exception is java.net.ConnectException: Connection refused: connect]]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at test2.HelloTestClient.initialize(HelloTestClient.java:25)
| at test2.HelloTestClient.<init>(HelloTestClient.java:15)
| at test2.HelloTestClient.main(HelloTestClient.java:93)
| Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 10.0.1.170:1199 [Root exception is java.net.ConnectException: Connection refused: connect]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
| ... 7 more
| Caused by: java.net.ConnectException: Connection refused: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
| at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
| at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
| at java.net.Socket.connect(Socket.java:507)
| at java.net.Socket.connect(Socket.java:457)
| at java.net.Socket.<init>(Socket.java:365)
| at java.net.Socket.<init>(Socket.java:265)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
| ... 7 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962627#3962627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962627
More information about the jboss-user
mailing list