Knowledgebase article 5

eHD on port 80 instead of port 8080 (Tomcat Port Settings)


This article contains information to run tomcat on port 80 instead of the default port 8080.  This will make it unnecessary to include a pot number on the URL of eHD.

Please understand there are possible security implications of running tomcat on port 80 in a Linux environment (this will require tomcat to run as root).


For additional instructions (that usually contain images), see the attached document.

Windows:

1.  Browse to Tomcat's configuration folder (default is C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf)

2.  Edit server.xml with a text editor
Find Connector port="8080" and change to:
Connector port="80"

Note: See the attached file for a graphic of this.

3.  Save server.xml and restart the tomcat service. You should now be able to completely exclude the port number in the eHD URL.  Example:  http://localhost/eH

4.  Log into eHD as admin, and change the Base URL (Settings wrench, Application Configuration, General).  The Base URL is used for the "view ticket" link that is appended to emails.

 

Linux:

1.  From the terminal, browse to the Tomcat instillation directory (usually /opt/GroupLink/everything_HelpDesk/tomcat or /usr/local/GroupLink/everything_HelpDesk/tomcat)

2.  Change the Tomcat user to Root by editing the "tomcat" file in the bin directory
Find the RUN_AS_USER=(username) and change to:
RUN_AS_USER=root

Note: See the attached file for a graphic of this.

3.   Browse to your tomcat/conf folder, and edit a file named server.xml
Find Connector port="8080" and change to:
Connector port="80"

Note:  See the attached file for a graphic of this.

4. Save server.xml.

5. (For version 11) you will need to change ownership of the tomcat directory to root.
     At the command prompt run: sudo chown -R root:root /opt/GroupLink/everything_HelpDesk/tomcat/   or whatever your path is where eHelpDesk is installed.
 
6. Restart tomcat for changes to take effect.  You should now be able to completely exclude the port number in the eHD URL.  Example:  http://localhost/eHD

7.  Log into eHD as admin, and change the Base URL (Settings wrench, Application Configuration, General).  The Base URL is used for the "view ticket" link that is appended to emails.

Group eHD Standard Support Last modified Nov 13, 2019 Type Public Viewed 7190