Results 1 to 3 of 3

Thread: changing apache port

  1. #1
    Join Date
    Sep 2006
    Beans
    28
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    changing apache port

    My ISP blocks port 80. I've tried running my server using port 78 and have it forwarded in my router's config. I also changed the port in ports.conf and restarted Apache. However, when I try to access my site from http://67.81.64.58:78 or http://192.168.1.150:78, I get a 404 error. However when I don't specify a port, I get the "It Works!" page. Any help is much appreciated.

  2. #2
    Join Date
    Oct 2008
    Location
    Stuttgart, Germany
    Beans
    441
    Distro
    Ubuntu Development Release

    Re: changing apache port

    from ports.conf:

    # If you just change the port or add more ports here, you will likely also
    # have to change the VirtualHost statement in
    # /etc/apache2/sites-enabled/000-default

    Look for VirtualHost in /etc/apache2/sites-enabled/000-default

  3. #3
    Join Date
    Sep 2006
    Beans
    28
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: changing apache port

    Thanks a lot, that got it working!

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
  •