apache - Just installed nginx and now having bind error - address already in use -


i running vps apache. installed nginx. got address in use error @ port 80 because apache using it. new linux/apache stuff possible change port of nginx , how ? if yes work want serve static files automaticaly or should hosting company instead since don't know these.

and yes used tutorial install http://library.linode.com/web-servers/nginx/installation/centos-5

help appreciated :)

thanks in advance

look either into

  • your nginx.conf file
  • or of sites in sites-enabled (usually under nginx directory)

and search server part, listen

  server {     listen   80; 

here can change port 81 instance instead of 80.

notes:

  • you may have server { listen } part within nginx.conf directly
  • if under linux, configuration in /etc/nginx (nginx.conf) , sites-enabled below directory.
  • regarding apache (linux), using either service apache stop or service httpd stop or /etc/init.d/apache stop (or httpd) should work stop process, or try killall httpd or killall apache (or apache2) stop apache.

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -