Answer the question
In order to leave comments, you need to log in
How to change port in apache?
The server runs on ubuntu and vesta cp. As the provider support told me, they use port 80, so take some other one, well, I configured and allowed the Apache port on 8080 in the firewall through the file /home/admin/conf/web/site.com.apache2.conf . With the help of the command, the sudo netstat -tlpn | grep apache
port shows 8080 ... When I open the site, it transfers it to the admin panel of the router. And indeed, if you enter the site through port 80, it also transfers to the router, and if you enter through 8080, then the site works great ... But why doesn’t it turn on via http immediately on 8080?
Answer the question
In order to leave comments, you need to log in
as it is chaotically described, the router, the server, you (your PC apparently), it is not entirely clear what you want to get in the end.
for http, the default port is 80, when you type in the address browser, it connects to port 80, if you add https:// addresses at the beginning, then port 443, respectively
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question