To change the default port (8000) of eHour standalone, open conf/ehour.properties and change the port in the line
conf/ehour.properties