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 undernginx
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 withinnginx.conf
directly - if under linux, configuration in
/etc/nginx
(nginx.conf) ,sites-enabled
below directory. - regarding apache (linux), using either
service apache stop
orservice httpd stop
or/etc/init.d/apache stop
(or httpd) should work stop process, or trykillall httpd
orkillall apache
(or apache2) stop apache.
Comments
Post a Comment