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.conffile - or of sites in
sites-enabled(usually undernginxdirectory)
and search server part, listen
server { listen 80; here can change port 81 instance instead of 80.
notes:
- you may have
server { listen }part withinnginx.confdirectly - if under linux, configuration in
/etc/nginx(nginx.conf) ,sites-enabledbelow directory. - regarding apache (linux), using either
service apache stoporservice httpd stopor/etc/init.d/apache stop(or httpd) should work stop process, or trykillall httpdorkillall apache(or apache2) stop apache.
Comments
Post a Comment