1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hide port 8080 on display

Discussion in 'Apache' started by abelwang, Nov 4, 2013.

  1. #1
    i have google search this but none of them give a workable method. can someone give a workable solution? i m using xampp on window. how to hide port on url?
     
    abelwang, Nov 4, 2013 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Not sure I follow this to be honest but if need be you can try to set it to listen on :80 which should be localhost by editing xampp/apache/conf/httpd.conf

    still not clear what you are trying to do here. Do you have to run multiple apps at once? You can only have one app listening to a particular port at any given time to my knowledge as well.

    Nigel
     
    Nigel Lew, Nov 4, 2013 IP
  3. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #3
    You can't as 80 (http) and 443 (https) are the default ports. You would have to do it externally to the http daemon, e.g. setting up a firewall rule to redirect from 80 to 8080.
     
    ryan_uk, Nov 4, 2013 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
    #4
    lol.... that's funny. I suggested routing shit to port 80 and then said you cant have two things listening on the same port... I think I need some sleep :oops:
     
    Nigel Lew, Nov 4, 2013 IP
  5. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #5
    It is possible to listen on multiple ports. I believe he/she/it wants to only use port 8080 instead of 80 (I've also had to do on Windows due to other software wanting to hog port 80), therefore the port has to be specified (or the request is sent to port 80) unless a firewall on the server's OS (or a router/proxy server) does some re-mapping of the request.
     
    ryan_uk, Nov 4, 2013 IP
  6. abelwang

    abelwang Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    how exactly to do that? i believe not every host are using port 80. but they can manage to do it, so that must be a method to do it. someone who know how please share your acknowledge here!! many thanks
     
    abelwang, Nov 7, 2013 IP