powered by Jive Software

Java.net.unknownhostexception - But other PCs connect

Hi all,

I am new to openfire and Spark and have really struggled to get it working. I have two computers connected to my Windows SBS 2011 Essentials domain where I also host Openfire. The two machines connected are Windows 7 Pro OS and they connect to openfire without issue (after much troubleshooting and firewall configuration on the client end). I was trying to add another machine with Windows 7 Pro OS and after adding the firewall inbound and outbound rules for TCP and UDP on ports 5222, 9090, 9091, 5275, 5223, 5269, I still can’t connect. I can use command prompt to ping the server name and it replies withe the server IP. I can connect to server folders but I can’t get Spark to login. I have even tried using usernames that resolve on my two working machines and that doesn’t work. I have tried telnet but it hangs for several minutes and I just close it out. Here is the error message log I get:

Dec 2, 2012 9:34:20 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Exception in Login:

Could not connect to \192.168.0.75:5222.: remote-server-timeout(504) Could not connect to \192.168.0.75:5222.

– caused by: java.net.UnknownHostException: \192.168.0.75

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:517)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:953)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1009)

at org.jivesoftware.LoginDialog$LoginPanel.access$1200(LoginDialog.java:219)

at org.jivesoftware.LoginDialog$LoginPanel$4.construct(LoginDialog.java:730)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

at java.lang.Thread.run(Unknown Source)

Nested Exception:

java.net.UnknownHostException: \192.168.0.75

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFacto ry.java:28)

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:512)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:953)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1009)

at org.jivesoftware.LoginDialog$LoginPanel.access$1200(LoginDialog.java:219)

at org.jivesoftware.LoginDialog$LoginPanel$4.construct(LoginDialog.java:730)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

at java.lang.Thread.run(Unknown Source)

Any help would be greatly appreciated as this is so very frusterating. Thanks,

Mallard27
error.log.zip (613 Bytes)

“\” within the host names seems to be problematic.

Thanks LG!!!

I removed the \ from the IP in advance as well as the host name at signon and it worked. I can’t tell you how happy I am and relieved!!!

Thanks again!!!

Mallard27

Merry Christmas!