cable isp block port 80 ( HTTP )

Discussion in 'Server Operation' started by Dekalb, Dec 6, 2007.

  1. Dekalb

    Dekalb New Member

    My isp block port 80.

    Is there some creative solution to somehow bypass this limitation by redirect / reflect my local ports or whatever idea you may think of ?

    Thanks.
     
    Last edited: Dec 6, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    You can use any other port for http, but of course then your visitors must know that port number, so it probably isn't a good solution...
     
  3. Dekalb

    Dekalb New Member

    How to use other port for http

    I'm new to linux,

    Would you please explain me how to use other port for http ?
     
  4. Mosquito

    Mosquito New Member

    I've assisted a couple clients that insisted on running a webserver on their cable internet connection (see note 3 below). The one port I have found that is usually open even when 80 is closed is port 443 (SSL over HTTP).

    A couple notes about this though,

    1.) As Falko mentioned, your users would need to know about this port change - unless you use Domain Cloaking/Forwarding. I'd used ZoneEdit in the past to set this up. Basically, you would be able to go to your domain normally (www.example.com), but the forwarding options will redirect this to www.example.com:443. Using the cloaking options, users would still see www.example.com. The downside of this is that all navigation around your site is cloaked too, so all navigation shows www.example.com no matter where you are on the site (makes bookmarking difficult). I can provide a brief walkthrough if you need it for this step in the process.
    2.) If you use port 443, you won't be able to use SSL - unless you also change that port. Also, just because you are using port 443 which is normally used for encrypted traffic does NOT mean your traffic will be encrypted. It is NOT encrypted over the standard HTTP protocol.
    3.) Hosting on a home cable connection may be a violation of your terms and service agreement. Depending on your ISP you may be able to get away with it, you may suddenly find yourself paying for business service (because you are running a server...much more expensive), or you may even find they disable your connection. Just something to think about.

    Finally, I have not used Lighttpd before so I do not know the exact procedure of changing it to use another port. With Apache, there is a ListenDirective that you change to be another port - other than 80.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    In your Apache configuration, there must be a line
    Code:
    Listen 80
    Change it to
    Code:
    Listen [I]port_no[/I]
    and restart Apache.
     
  6. Dekalb

    Dekalb New Member

    I use only lighttpd

    I use lighttpd with no apache install, is it fine?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Then you must change the port in /etc/lighttpd/lighttpd.conf.
     
  8. Mathias

    Mathias ISPConfig Developer ISPConfig Developer


    In /etc/lighttpd/lighttpd.conf skall you write:

    Code:
    Listen 85
    then save the file and write the following in SSH.

    Code:
    
    /etc/init.d/lighthttpd stop
    /etc/init.d/lighthttpd start
    
    
    It should now be possiple for you to access your website at:

    http://Your-IP.com:85

    If you use ISP_Config can you still acces this at:

    http://Your-IP.com:81

    //Mathias
     

Share This Page