If you already have Apache installed on your Ubuntu system, you may have conflicts with Nginx. It's recommended to either remove Apache or configure Nginx to listen on a different port.