Page 1 of 1

Ports opening help

Posted: Thu Aug 11, 2005 6:02 am
by sankofa411
hello MT gurus

I have a server running redhat 9 with a 3rd party software running on it. When I run the 3rd party software locally on the server it works fine. There is a setup for a remote pc or client pc to access the software on the server. When I run the program on the client pc or the remote pc I get a error message about "can not communite with server". The server have all firewall on redhat disabled. I can ping the server fine. The server and client are all on the same network.

The documentation for the 3rd party software requires these ports to be open

1098- (JBoss RMI port) 1099-(JBoss RMI port)
4444- (JBoss RMI Object port) 3306- (MySQL DB port)

I opened the ports by implimenting these firewall rules. and moved the rules to the top.

add chain=forward dst-port=1098-1099 protocol=tcp action=accept
add chain=forward dst-port=4444 protocol=tcp action=accept
add chain=forward dst-port=3306 protocol=tcp action=accept

unfortunately I still get the error message and can not communicate with the server. Please if anyone can help I will really appreciate it.

Thank you in advance
Ben

Posted: Thu Aug 11, 2005 9:32 am
by sergejs
Remote client can access your Red Hat server ?
you do not have any drops before this rules ?

Posted: Thu Aug 11, 2005 4:27 pm
by sankofa411
I can SSH into the server and FTP as well. What I am doing wrong?

Do I have the rules right? Any help will be appreciated.

Thank you

Posted: Fri Aug 12, 2005 8:41 pm
by andrewluck
The server and client are all on the same network
So the traffic doesn't actually traverse the MT box?

Run netstat on the server and ensure that it's actually listening for connections on your application ports.

Regards

Andrew

Posted: Fri Aug 12, 2005 11:43 pm
by sankofa411
Thank you Andrew I will try that

Posted: Sat Aug 13, 2005 3:01 am
by dwright
are you sure that your firewall is turned off the server?

as root:
/sbin/service iptables status
to shutdown:
/sbin/service iptables stop
to permanately disable, try:
/usr/sbin/ntsysv
Then uncheck iptables and save.

Note** Can't remember if Redhat 9 came with ntsysv

D~