Find the answer to your Linux question:
Results 1 to 8 of 8
Hello all I'm kinda a newbie to Linux, but so far I have experimented a little bit with RedHat. I installed apache and can run it. I have a westell ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    5

    Server Connection Help


    Hello all

    I'm kinda a newbie to Linux, but so far I have experimented a little bit with RedHat. I installed apache and can run it. I have a westell router and i can view my server by typing in my local address from my main (windows) computer. ~192.168.1.47. I went to http://whatismyip.com and found out my (real) ip address from my linux and windows computer to be the same. When I type the address into the browser from both computers and another (friend's), I get the reply: "the connection was refused..." I can 'ping' the address from both computers, and from another (friend's) computer (outside the network) and I get a reply. Although verizon provides me with a dynamic IP address, the address I get from http://whatismyip.com never changes. So I was wondering if I have to change something so that people not on the network can view my server. Can someone help me out??

    Thanks

  2. #2
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    You need to configure your router to forward any inbound traffic on port 80 to your server using its local IP 192.168.1.47. What happens at the minute is when you request your web server externally it tries to ask your router for a reply on port 80 and as your router doesn't have anything running on port 80 externally it blocks it. It doesn't what to do with the traffic so it drops it.
    On a side note, you have "Network Address Translation" (NAT) which means that all your computer on your private network share the same external IP. This helps with your privacy and security as it means all your traffic is checked by the router and is also cheaper as public IPs are in high demand so you would have to pay extra if you requested a static IP or more than one IP for your different machines.
    The biggest security threat is the user.

  3. #3
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    After configuring port forwarding on your router, people outside your network will be able to see you, but you probably won't be able to see www.yourdomain.com from inside your network...generally how routers work...but anyone not in your network will be able to see you...just remember that locally you'll still have to point your browser to your local ip...
    Operating System: GNU Emacs

  4. #4
    Just Joined!
    Join Date
    Sep 2005
    Posts
    5
    Ok well I changed some things around and now I am able to view my site by typing in my local ip address ~ 192.168.1.47 and also from my WAN ip address... ~ 70.180.x.x. But when I ask my friends if they can view it from thier computers... they receive the error "server not found" or something similar to that. I port forwarded port 80 TCP and UDP with the host as ~ 192.168.1.47 (server). Any other ideas?

    Thanks

  5. #5
    Just Joined!
    Join Date
    Jul 2005
    Posts
    23
    I was wondering if you happened to resolve your issue. I'm interested as I have an exact same problem, I'm on LAN and when I type my internal IP 10.1.0.xxx I can see the site on my PC. But when I type my external IP 83.16.xxx.xx I can't see it and people from the outside of the LAN cannot see it either. Any clues? I'd appreciate any info. Thank you.

  6. #6
    Just Joined!
    Join Date
    Sep 2005
    Posts
    5
    Well I sort of fixed it...

    I think I port-forwarded port 80, TCP and UDP (or tried) on my router to the local address for my server. Now I can view my server by typing in my WAN address but now I CAN'T view it from its local address. Also, someone from outside my network still can't view the server. Weird, I have given up for now, since I have school and other things to worry about for now, but if I advance in figuring out something else, I will let you know.

  7. #7
    Just Joined!
    Join Date
    Jan 2006
    Posts
    10
    Im having same problem with verizon, they may be blocking port 80.. Theres a site to see but I forget where?

  8. #8
    Linux User yourname3232's Avatar
    Join Date
    Aug 2005
    Location
    Pacific Northwest, USA
    Posts
    262
    Here you can have your ports scanned.

    https://www.grc.com/x/ne.dll?bh0bkyd2

    But make shure your ISP will allow you to set up a server before you go and try.
    Registered GNU/Linux User #399198
    'Experience is something you don't get until just after you need it.' -Steven Wright

Posting Permissions

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