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?
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
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.
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
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.
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