Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How You Can Start Nginx Through A Different Port Other Than 80?
Home
NGINX
How You Can Start Nginx Through A Different Port Other Than 80?
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
Explain How You Can Start Nginx Through A Different Port Other Than 80?
#nginx-port
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 16, 2019
by
SakshiSharma
To start Nginx through a different port, you have to go to /etc/Nginx/sitesenabled/ and if this is the default file, then you have to open file called “default.” Edit the file and put the port you want
Like server { listen 81; }
...