Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 46

Thread: server newb needs help

  1. #11
    Join Date
    Oct 2007
    Location
    Auckland, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: server newb needs help

    Quote Originally Posted by hessiess View Post
    Its still better to only forward the ports you actually need, all it would take is a a security vonribility in one of the servers running and you could be compromised. Always open as few ports as possible.

    Run one of the online port scanners like the one at GRC https://www.grc.com/x/ne.dll?bh0bkyd2, click on the proceed button then common ports, this will show your public IP(try accessing your site with this) and your open ports, 80 should show up as being open.
    However, chances are you will be forwarding the open ports anyway, so it doesn't really make a lot of difference.
    First they ignore you, then they laugh at you, then they fight you, then you win ~ Mahatma Gandhi

  2. #12
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: server newb needs help

    Accessing the LAN IP Address given by my router (on a laptop connected to my wireless network) just connects my back to my router admin page. Is that right? how does that test apache?

  3. #13
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,370
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: server newb needs help

    Quote Originally Posted by woodsonoversoul View Post
    Accessing the LAN IP Address given by my router (on a laptop connected to my wireless network) just connects my back to my router admin page. Is that right? how does that test apache?
    This does not make sense. Your router should have it's own local address. Each machine on the LAN should have all unique addresses.

    If you enter the LAN ip address of your server and get the router page, it could be a NAT thing.

    On the server what is the output of

    Code:
    ifconfig
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  4. #14
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: server newb needs help

    ipconfig returns:

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:89 errors:0 dropped:0 overruns:0 frame:0
    TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:7022 (7.0 KB) TX bytes:7022 (7.0 KB)

    wlan0 Link encap:Ethernet HWaddr 00:14:a5:cc:47:5a
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::214:a5ff:fecc:475a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2632688 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4119927 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:224953610 (224.9 MB) TX bytes:1311141000 (1.3 GB)

    wmaster0 Link encap:UNSPEC HWaddr 00-14-A5-CC-47-5A-37-35-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


    Does it say which ip address I should be using to test the server from my laptop? I want to be sure I'm using the right one...

  5. #15
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,370
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: server newb needs help

    Yes the ip address is present. I see you are using a wireless adapter.

    192.168.1.3
    To clarify is the server separate from your laptop?

    I see you wrote "ipconfig" (typo?), this is a linux server, correct?

    When you visit canyousee.org, it should display your external ip address. What happens when you enter that address in a browser from a machine other than your server?
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  6. #16
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: server newb needs help

    Thanks again volkswagner. When I type the address you quoted in the laptop's browser it tries to connect to local host (it's running an xampp server also). So that seems kind of legit. The website you posted doesn't show me anything about my IP address. Yes it's a linux server and yes that's a typo on my part.

  7. #17
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,370
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: server newb needs help

    Odd. Here is a screen shot of my system when going to canyouseeme.org

    So did your apache page load when you entered the "192.168.1.3"? What happened?

    Notice my external ip in the top left corner?

    You must have a firewall blocking the function.

    Your router status page must also list your external ip.

    What type of router are you using?

    Do you have a second machine on the LAN to do testing with?
    Last edited by volkswagner; September 13th, 2009 at 02:11 PM.
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  8. #18
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: server newb needs help

    When I tried to connect to that address with my laptop it tried to load the localhost page on it's own server (I also have xampp installed on my laptop). I was able to get to canyouseeme.org. It gave me a different ip address than the one you quoted earlier. When I tried to access that from my laptop I got a page that was continually loading...

  9. #19
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,370
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: server newb needs help

    Can you post your apache config files?

    Are you able to connect to your server from you laptop, via ssh?

    How are you connecting to your server for administration?

    Is your server connecting to the net?

    On your server run:

    Code:
    host google.com
    Do you see the name servers listed?

    To clear things up....you are running XAMMP on your server and your laptop?
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  10. #20
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: server newb needs help

    Alright! Using '192.168.1.3' In my router controls, I was able to successfully forward port 80 (Or at least that's what canyouseeme.org says...) One question I have is, why does canyouseeme.org show a different address than '192.168.1.3'? It shows some 68.52.***.* number. And when trying to load '192.168.1.3' in my laptop's browser it loads it's local 'localhost' page. I've never set a firewall up, so unless one is installed by default in Ubuntu 9.04, then I shouldn't have one. My router is a Netgear WGR614v8. I'll plug my laptop into the router and see if that gives me different results than wirelessly...Thanks for all the advice/suggestions

Page 2 of 5 FirstFirst 1234 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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