0

Permission denied when changing port

Crazy Raisin 3 years ago 0
I am wanting to create a domain and set port to 770 mainly for the ftp since this would be for storage but got the following error:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: [emerg] bind() to 127.0.0.1:770 failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed

What am I setting up wrong?