Runserver on 80 port
The default port which tomcat runs is 8080 port. But when you deploy your application in your server, you have to run on 80 port. In this page, I'll show you how to run Alinous-Core server on 80 port.
There are two way to do that.
if you use the Tomcat as the web server, change the "server.xml". It is in the folder below.
In this file the port to run is defined.
At the "Connector", default port is defined as "8080", Therefore please change here into "80".
When you use the Apache Httpd Server, you can use mod_ajp. By using the mod_ajp, the httpd server get the result responce from the Tomcat and return it to the web browser.
In order to setup mod_ajp, open the httpd conf. And write the configuration about the Location like below.
If you want to use the mod_ajp, write like below.
By setting the