creating socket connection error
My problem is when I have router in local host, my client works fine, but when I move router to an other computer, then creating topic connection gives me error like: error creating socket connection to 127.0.0.1:14001, message: Connection refused: no further information
(I use port 14001, in local host it works). Why does it dry to connect to localhost? If I put up router in localhost too, it starts sending messages to this one!?
Anyway maybe this problem might have something to do with changeing the router version (swiftmq1.0 to 2.1.2)?
Could anyone help me with this one, I'm in big hurry, router and client should work on monday :-(
Thank You!
[692 byte] By [
megajava] at [2007-9-26 3:42:36]

Me again:)Well, its for sure connected with the swiftmq version change, because with ver1.0 my client works in other computer. ver 2.1.2 cries for localhost. Have anybody had such a problem before? might it be related to JNDI somehow (jndi is mystical for me)?
Is your client a J2EE component or otherwise ?
I have no experience with SwiftMQ. So no guarantees; but see if anything from http://forum.java.sun.com/thread.jsp?forum=29&thread=144400 helps you.
Also, even I thought JNDI was a mystery untill I read http://java.sun.com/products/jndi/tutorial/TOC.html
Thanx 4 answer :) neville
I have the answer allready - just I had to add 1 row in routers properties file, like:
swiftlet.sys$jms.listeners.plainsocket.bindaddress=192.168.0.1
It was in the SwiftMQ documentation, but I was to lazy to read all of it. My fault.
But thanks again for trying to help! And I WILL read that jndi doc.