R2-Net Server

How to change the listening port?

By default, to access the server application we open a browser and write the ip: …

The request is made and the server returns the app. This occurs because the browser requests requests by default on port 80. If we write this: we access in the same way.

We can change this to hide access or to have a specific port for our app. What this does is that the web-app cannot be easily accessed even if the wifi is accessed.

We access the console and access the following file:

sudo nano /etc/apache2/ports.conf


Listen 80 assigns the port number to which the web service should listen.

If we change the value 80 for another, for example 8090 … To access the web app we must write the following:

The application will be displayed as before and all requests will be answered on port 8090.