JBoss plugin, connection problem
Hi everybody
I hope somebody can give me a good advise.
I have IntelliJ 5.1 with latest version of JBoss plugin.
Initially I had IntelliJ and JBoss running on same PC (Windows XP).
I have setup Run/Debug configuration as for remote JBoss server.
Everything worked perfectly.
Then I have moved JBoss into separate PC (linux/Fedora), updated Run/Debug with new ip address.
But it refuses to work. everytime I try to start I got error message:
Error running JBoss_remote : unable to connect to 192.168.0.3:8080
where JBoss_remote name of the configuration, and 192.168.0.3 - my remote host running JBoss
I tried to investigate the problem and everything looked OK.
I can connect to JBoss via browser:http:// 192.168.0.3:8080
I tested deployment method via SSH , test is OK
I run JBOss in debug mode and IntelliJ could connect to remote JVM - OK
But I can not run that confuguration in IntelliJ and automaticalli deploy my application.
Anybody experienced the same problem? What could be the cause? Where to look at ?
Any help would be appretiated.
Thans in advance
ksv689
Please sign in to leave a comment.
Sergey wrote:
Possibly a local software firewall configuration problem?
N.
Make sure that you also can connect to address 1099 (or whatever else is configured as the JNP service port).
Well spotted. Looks like my cient can not connect to remote pc 192.168.0.3 via 1099
Now I am investigating why the port is closed/blocked
Possible candidates are:
1. Client PC , running windows xp, with mcafee installed. I suspect mcafee fire wall blocking the port
but can not find where I can anblock it. I have tried to disable firewall temporaly, but it did not help
2. Router, Netgear. Also can be the reason. I beleive I have switche Netgera fire wall off, can it still be a cause ?
3. Remote PC running linux fedora 6. I am not very good with linux but I beleive I have switched firewall of as well.
Is there any way / software to detect where the connection is blocked ?
Anybody can help?
Thanks in advance
Sergey
Hi everyone
Finally, I have found solution to the problem.
I hope somebody may be interested.
To solve the problem you should start JBoss with parameters:
./run.sh -b192.168.0.3 -Djboss.bind.address=0.0.0.0
where 192.168.0.3 is ip of the host where JBoss is running
Good luck
Sergey