Configuration file
server {
listen 8899;
server_name tc.com;
location / {
root html;
index index.html index.htm;
}
}
It is useless to access tc.com:8899 through the browser, but it is useful to use localhost:8899. Why is this?
I suspect you don’t know the difference between DNS and domain name and
server_name
Forgot to change hosts