Destramic Posted April 8, 2015 Share Posted April 8, 2015 hey guys i've changed my port on my apache to 8080 to stop any conflict with other applications, but now have to put port on end of address for localhost to work. ie. 127.0.0.1:8080 or http://localhost:8080 i know this may sound a bit silly but is there a way of using a virual host so that i can just execute http://localhost and it connect to http://localhost:8080? thank you Quote Link to comment https://forums.phpfreaks.com/topic/295360-apache-changing-port-and-virtual-host/ Share on other sites More sharing options...
requinix Posted April 9, 2015 Share Posted April 9, 2015 No. The only way to avoid putting the port in the URL is if you can run something on port 80, which is the opposite of what you're trying to do. 1 Quote Link to comment https://forums.phpfreaks.com/topic/295360-apache-changing-port-and-virtual-host/#findComment-1508547 Share on other sites More sharing options...
Destramic Posted April 9, 2015 Author Share Posted April 9, 2015 thanks for the information requinix Quote Link to comment https://forums.phpfreaks.com/topic/295360-apache-changing-port-and-virtual-host/#findComment-1508595 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.