Configure server port when running jar
From Spring boot documentation, the command line is : java -Dserver.port=8888 -jar myApplication.jar You can also use Spring boot configuration file as described in the documentation.
From Spring boot documentation, the command line is : java -Dserver.port=8888 -jar myApplication.jar You can also use Spring boot configuration file as described in the documentation.
Ok, per pix0r’s, Sparks’ and Dave’s answers it looks like there are three ways to do this: Virtual Hosts Open C:\xampp\apache\conf\extra\httpd-vhosts.conf. Un-comment ~line 19 (NameVirtualHost *:80). Add your virtual host (~line 36): <VirtualHost *:80> DocumentRoot C:\Projects\transitCalculator\trunk ServerName transitcalculator.localhost <Directory C:\Projects\transitCalculator\trunk> Order allow,deny Allow from all </Directory> </VirtualHost> Open your hosts file (C:\Windows\System32\drivers\etc\hosts). Add 127.0.0.1 transitcalculator.localhost … Read more