Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I don't really know what tomcat is, but since it's on port 8080 I'm assuming it's some sort of web service like apache. If it has a home page, just enter the internal IP address of the CentOS box into Firefox. For example http://192.168.0.5.
As to ftp into the CentOS box, you have to run an FTP server on the box, like ProFTP, ftpd, wu-ftpd, vsftpd, etc. Then on the client machine (XP) you need an FTP client like FireFTP (firefox add-on) or Filezilla client. Then you connect by similarly putting in the local address of the CentOS box (192.168.0.5 in the example above).
You may need to open a port on the Windows firewall on your XP systems. You can try turning off your firewalls on the XP boxes and see if that allows you to see the 8080 port. If this works, you can work on getting the firewall opened up as needed.
More likely to be the firewall on the CentOS box. As the root user, run "service iptables stop" and then see if you can browse to the server from your XP box.
Note: You shouldn't run like this permanently. If you need ports 8080 and 102 open then you should add firewall rules that allows connections to these ports, while still blocking everything else. Run "service iptables start" to restart the firewall after your test.
Last edited by blacky_5251; 05-05-2009 at 07:54 PM.
Reason: Added caution note
1, In your centos system, enter "elinks http://192.168.1.102:8080"
If it doesn't work, means your tomcat web service not start.
2, In your centos system, enter "service iptables stop"
In your firefox on xp system, if you can visit http://192.168.1.102:8080, means
centos firewall block 8080 before.
3, If still doesn't work, need to check xp system to see if they block 8080. Normally they don't if you are not do any specific settings before.
THank you!. Yes, stopping iptables allowed me to access the link from my xp machine. So that means that Centos blocks outside access of port 8080.
What is the proper way to set this up? I know that for a production server you need to either use a firewall or Apache to handle requests on port 80 and then pass them to tomcat on 8080. But is there a way on a home network to allow local network access to port 8080?