Results 1 to 9 of 9

Thread: Apache2 problem

  1. #1
    Join Date
    Oct 2008
    Beans
    8

    Apache2 problem

    I installed Apache2 under Ubuntu, and set the router, however, I can only
    access my website from local network, can not visit it from outside. Does
    anyone have idea about it? btw, I can ssh to my machine.
    Thanks a lot.

  2. #2
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: Apache2 problem

    Have forwarded port 80 on your router?

  3. #3
    Join Date
    Oct 2008
    Beans
    8

    Re: Apache2 problem

    Yes, I have opened ports 22 and 80 in my router, ssh works fine from outside, apache2 does not work.

  4. #4
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Apache2 problem

    Does your ISP block incoming port 80?

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  5. #5
    Join Date
    Oct 2008
    Beans
    8

    Re: Apache2 problem

    Quote Originally Posted by MJN View Post
    Does your ISP block incoming port 80?

    Mathew
    I don't think so, I use optimum online.
    I use nmap to scan ports from internet, only see 22;
    while I scan on my local machine, I see 22 and 80.
    I also checked apache2.conf and set "allow from all" for everything. Do I need to lower Ubuntu security level somewhere?

  6. #6
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Apache2 problem

    According to http://en.wikipedia.org/wiki/Optimum_Online running a web server is against their TOS on the 'standard' service (allowed on the 'Boost' package) and so there is every chance they are blocking port 80.

    Try changing to another port (something random, say 4000) and see if that works however you may find they are actually blocking incoming HTTP requests hence this will apply equally to all ports.

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  7. #7
    Join Date
    Oct 2008
    Beans
    8

    Re: Apache2 problem

    Quote Originally Posted by MJN View Post
    According to http://en.wikipedia.org/wiki/Optimum_Online running a web server is against their TOS on the 'standard' service (allowed on the 'Boost' package) and so there is every chance they are blocking port 80.

    Try changing to another port (something random, say 4000) and see if that works however you may find they are actually blocking incoming HTTP requests hence this will apply equally to all ports.

    Mathew
    OK, thanks a lot! I will have a try and report the result later.

  8. #8
    Join Date
    Apr 2005
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Apache2 problem

    If you need to see what others can see, try:

    http://www.canyouseeme.org/

    It might indicate if your ISP is blocking port 80, or if your server/router is not responding on port 80.

  9. #9
    Join Date
    Oct 2008
    Beans
    8

    Re: Apache2 problem

    Yes, it is the ISP problem. I changed port number, now it works fine.
    Thanks a lot for your help!

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
  •