Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Friends, I am not that familiar to linux,but trying to.I installed linux and a server on it.I can access the server page like this: http://localhost:7001 But when I do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    1

    Very simple networking question


    Hi Friends,
    I am not that familiar to linux,but trying to.I installed linux and a server on it.I can access the server page like this:
    http://localhost:7001

    But when I do this:
    http://10.11.12.45:7001

    It says
    The connection was refused when attempting to contact 10.11.12.45
    But when i do "ifconfig -a" at the console,I can see three sections:

    eth() - with ip 10.11.12.45
    lo - with ip 127.0.0.1
    and one more....

    Can somebody please tell me how to make linux recongnize that NIC ip.....thanks

  2. #2
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    So do you mean to tell me you are running a web server?
    Do us a favor and do a 'ifconfig eth0' and post that output.
    Also post the information in the the file:
    /etc/sysconfig/network-scripts/ifcfg-eth0

    Where or how did you get the the IP: 10.11.12.45 ?
    Is this you webserrver on the internet?

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    22
    ping is the first thing you should (almost always) try when you can't access an IP. Unless 10.11.12.45 is dropping ICMP packets this should succeed if the connection exists and the interface is up. If it succeeds, then the problemis in http service setup. If it fails your problem is in the basic networking setup.

    Please post ...
    $ ping 10.11.12.45

    If ping fails, then also post
    $ ifconfig eth0
    $ route -n

    If ping succeeds, then post
    $ nmap 10.11.12.45
    $ lsof | grep IPv
    --

    { Skiboy; FYI 10.x.x.x is a private unrouteable address range, just like 192.168....}

  4. #4
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    Thanks Steve, I thought it was but never saw or here that it was only 192.1868.x.x.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •