How to open port on Fedora Core
Hi,
This is my first post into your community, and I am quite new to Linux, here is my problem: I have installed Tomcat on my Linux machine. After starting Tomcat and pointing a browser to localhost:8080 it works fine. However when trying to access it from another machine by pointing a browser to {IP_Address}:8080 it does not work. There is no hardware that is blocking connections to 8080 (i.e. no router ..etc). Also I have tried: iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT And still got the same result. How can I open port 8080 for external use? Thanks |
Select the menu item System->Administration-Security Level and Firewall. From the dialog that opens, on the Firewall Options tab, click on Other Ports, then click the Add button. Enter the port number and click OK.
|
Thanks for your reply, but I forgot to mention that I have no access to a GUI on my machine, so all I can use is a terminal window. Can you describe how I can carry out what youve described above using shell commands?
Thanks |
Run the command "system-config-security-level" and then use your keyboard to navigate to the firewall and enter the ports you wish to open.
|
That didn't look like a shell command to me. I am runnig bash shell, and I got a command not found message.
Please Help. I have started Tomcat on port 80 instead and it worked. But I dont want it to run on port 80 Thanks |
Its a command but I spelt it wrong. The right command is system-config-securitylevel. As for the tomacat thing, start a new thread since its not related to the current discussion.
|
Thanks for your reply,
Code:
system-config-securitylevel Thanks |
Quote:
|
All times are GMT -5. The time now is 05:28 PM. |