I fixed this by running:
sudo apachectl stop
It turns out apache was running in the background and prevented nginx from starting on the desired port.
On Ubuntu, run:
sudo /etc/init.d/apache2 stop
More Related Contents:
- How to allow Tomcat war app to write in folder
- How to start nginx via different port(other than 80)
- Nginx: stat() failed (13: permission denied)
- Running a cron every 30 seconds
- Nginx no-www to www and www to no-www
- Docker Error bind: address already in use
- How to install Boost on Ubuntu
- How to specify in crontab by what user to run script? [closed]
- Installing IDEA on Ubuntu 11.10
- Docker error : no space left on device
- Error “gnu/stubs-32.h: No such file or directory” while compiling Nachos source code
- How do I add a CA root certificate inside a docker image?
- sendmail: how to configure sendmail on ubuntu? [closed]
- How do I resolve `The following packages have unmet dependencies`
- Make docker use IPv4 for port binding
- How to kill a process on a port on ubuntu
- Is it possible to run selenium (Firefox) web driver without a GUI?
- Trying to include a library, but keep getting ‘undefined reference to’ messages
- How to Compile 32-bit Apps on 64-bit Ubuntu?
- After installing with pip, “jupyter: command not found”
- How to download all files (but not HTML) from a website using wget?
- How to write a cron that will run a script every day at midnight?
- Running graphical Linux desktop applications from WSL 2 – “Error E233: cannot open display” [closed]
- Installing mod_wsgi for Python3 on Ubuntu
- How to compile OpenCL on Ubuntu?
- cannot get elasticsearch service to run in ubuntu 17?
- Why is WSL extremely slow when compared with native Windows NPM/Yarn processing?
- What do the *-dev packages in the Linux package repositories actually contain?
- Unknown encoder ‘libfaac’
- How to configure PyQt4 for Python 3 in Ubuntu?