LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2006, 07:52 AM   #1
motheeb
LQ Newbie
 
Registered: Aug 2006
Location: London
Distribution: FC5
Posts: 4

Rep: Reputation: 0
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
 
Old 08-20-2006, 08:48 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
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.
 
Old 08-20-2006, 08:51 AM   #3
motheeb
LQ Newbie
 
Registered: Aug 2006
Location: London
Distribution: FC5
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2006, 09:14 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 08-20-2006, 09:22 AM   #5
motheeb
LQ Newbie
 
Registered: Aug 2006
Location: London
Distribution: FC5
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2006, 10:06 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.

Last edited by reddazz; 08-20-2006 at 10:07 AM.
 
Old 08-21-2006, 06:10 AM   #7
motheeb
LQ Newbie
 
Registered: Aug 2006
Location: London
Distribution: FC5
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply,
Code:
system-config-securitylevel
still gave me a command not found message. This is on the bash shell for Fedora Core 5. Is there something that I need to install or a package that is not there?

Thanks
 
Old 08-21-2006, 06:34 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by motheeb
Thanks for your reply,
Code:
system-config-securitylevel
still gave me a command not found message. This is on the bash shell for Fedora Core 5. Is there something that I need to install or a package that is not there?

Thanks
I have a server running CentOS 4.x in text mode only and I can access that command. Try doing something like "yum install system-config-securitylevel-tui".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SMEs port core apps to Open Source LXer Syndicated Linux News 0 05-29-2006 02:33 AM
serial port mouse in fedora core 3 farzi Linux - Hardware 1 02-15-2006 07:38 PM
Alpha Core Linux is here (For AlphaServer) [a port of Fedora Core Linux] t3gah Linux - Distributions 2 04-22-2005 12:37 PM
Serial port,cu, fedora core 2 issues minibootsy Linux - Networking 3 02-18-2005 03:27 PM
PCMCIA Port - Fedora Core Critter Hart Linux - Laptop and Netbook 6 03-10-2004 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration