rhel5 - Cannot access an application hosted on jBoss remotely -


i have hosted application in machine running red hat enterprise linux 5. started jboss using command.

./run.sh -b 0.0.0.0 

and

./run.sh -djboss.bind.address=<<server_address>> 

and

./run.sh --host=<<ipaddress>> 

but using of these commands cannot access application remotely. using the above commands cannot access application on host machine itself, using localhost ip address. not able figure out problem here. can ping linux machine other windows machines.

check iptables rules not blocking firstly

also running user? if so, not have permission bind port number less 1024.

try telneting port server check service responding e.g.

telnet localhost 8080 

presuming running on 8080 in example above.

you can drop iptables temporarily testing if safe by:

/etc/init.d/iptables stop 

and restart them when you've finished with

/etc/init.d/iptables start 

you can make permanent change iptables config adding following line /etc/sysconfig/iptables

-a rh-firewall-1-input -m state --state new -m tcp -p tcp --dport 8080 -j accept 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -