Unable to run webpage on local server using ip in the url
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!
Notices
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.
Maybe you lack the first line, and so you cannot route your queries.
Then check your routing table; take a look at mine: (some more stuff appears, but not relevant now)
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Iface
169.254.0.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
This way you tell: "All the packets travelling to hosts beginning with 169.254...., use eth0 interface (network card)"
"All packets to 127.0.0.1 (the host where you are sitting) use "lo" (loopback) interface", which means, don't try to go outside the machine.
OK. So it really seems like you're have a routing problem, misconfigured network or whatever.
According to your IP address and netmask, it is ok for 10.90.44.0 to be there, but I really don't understand 192.168.... Do you have two ethernet cards plugged in ???
If your IP address is 10.90.45.87
and your netmask is 255.255.255.252
then your "network address" is 10.90.44.0
This is as a result of binary routing theory. You can learn some basics googleing subnet+howto
Here, the first line means "when looking for any element within my subnet (10.90.44.0), use 0.0.0.0 gateway (your network card)"
Second line means "for the rest of IP addresses (0.0.0.0) use the gateway 10.90.44.1(which should be your modem/router internal IP address )"
[root@tmpRH8 SQLBean]# ping 10.90.45.111
PING 10.90.45.111 (10.90.45.111) 56(84) bytes of data.
64 bytes from 10.90.45.111: icmp_seq=1 ttl=128 time=0.359 ms
64 bytes from 10.90.45.111: icmp_seq=2 ttl=128 time=0.194 ms
64 bytes from 10.90.45.111: icmp_seq=3 ttl=128 time=0.171 ms
64 bytes from 10.90.45.111: icmp_seq=4 ttl=128 time=0.196 ms
64 bytes from 10.90.45.111: icmp_seq=5 ttl=128 time=0.191 ms
64 bytes from 10.90.45.111: icmp_seq=6 ttl=128 time=0.195 ms
[1]+ Stopped ping 10.90.45.111
[root@tmpRH8 SQLBean]# telnet 10.90.45.111 8080
Trying 10.90.45.111...
Connected to 10.90.45.111.
Escape character is '^]'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.