title: How to hide web application port in reverse proxy
body: <p>I have use nginx for reverse proxy which listen on port 80. and I have a web application listen on port 9999, I config nginx with reverse proxy to redirect client request from port 80 to port 9999.   </p>
  
  <p>Now I found that when access 80 port, browser will show web application response (this is correct.), however, if browser directly access 9999 port, it will also show web application response.  </p>
  
  <p>So, How can I configure nginx that browser can only access port 80, not port 9999. Thanks!</p>