[SOLVED] Unable to connect with linux system to other linux system
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.
see your apache instance is using port 80 and you are trying to access your application from 8080.
Did you setup virtual host in apache for this application to check port 8080 ? if not you should try your application like this : http://site_address/
Also post me these if it is not accessible through port 80 from localhost* first and fetch the access.log and error.log output, i do asked for this:
login as root: service httpd stop
kill -9 pid_of_apache and
service httpd start.
output of :
I have configured Apache server. Make appropriated changes in httpd.conf add my website on place of ServerName. Edited /etc/hosts file also. Allow other ip address to access my website as suggested in the tutorial. An output is I can access my website on my ip address but still unable to access my website from other linux system. I m much confused where i m going wrong?
You have two servers. Are they both on VirtualBox or VMWare or are they two different physical systems ?
Can they ping each other ? If not then first enable that.
Is port 8080 being listened on on the webserver on which the war file is ? run " netstat -an | grep -i list | grep 8080 " . If not first fix the webserver.
Check if the service is usable. run "ssh -v -p 8080 <ip of webserver where war file is > " first on the webserver itself and then on the remote server.
Do you see a line "connection established" ?
a) disable SELinux ( its your test server anyway ) or configure SELinux .
b) get the web server - apache or tomcat or the thingamagic in use - running.
Have you configured your webserver to serve your application when requested ?
For all questions on How do I do that , please allow me to say RTFM and then ask Uncle Google. If those were not helpful, there is always linuxquestions.org you can bring your error message to.
I have created a website using apache server www.TestMerchant.com & able to access it on my pc. As i typed in address bar www.TestMerchant.com it gave me the appropriate output. Now I have to access my web site from other linux system which is o n same LAN. I have tried this as described in the section 3.1.1. As shown in fig 20 i also allowed that ip address to access web site but it didn't work. I don't know what to do.
There is no error log in access.log file because i can access web site easily on my ip address.