Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Custom Vestacp Port
Custom Vestacp Port
1. Change the default vesta port sometime ago.
2. Forgotten the customised port and unable to access to the CP
What should I do?
2. Forgotten the customised port and unable to access to the CP
What should I do?
Re: Custom Vestacp Port
/usr/local/vesta/nginx/conf/nginx.conf
Code: Select all
server {
listen 8083;
#server_name _;
server_name domain.ru;
#check come
if ($host != "domain.ru") {
return 403;
}
Re: Custom Vestacp Port
Hi, from which config file that I can see the current firewall setting?Mr.Erbutw wrote:/usr/local/vesta/nginx/conf/nginx.conf
Code: Select all
server { listen 8083; #server_name _; server_name domain.ru; #check come if ($host != "domain.ru") { return 403; }
Re: Custom Vestacp Port
to scan ports can remember where you changed the port ?shanjie wrote:
Hi, from which config file that I can see the current firewall setting?
Re: Custom Vestacp Port
I think you mean iptables?shanjie wrote:Hi, from which config file that I can see the current firewall setting?
Code: Select all
iptables -L
Re: Custom Vestacp Port
Hi all,
problem solved by
iptables -A INPUT -p tcp -m tcp --dport 8083 -j ACCEPT
problem solved by
iptables -A INPUT -p tcp -m tcp --dport 8083 -j ACCEPT