how to run apcahe2 localhost in nitrous.io Ubuntu Stack

101 Views Asked by At

I am running ubuntu stack on nitrous.io cloud platform.
I want to run php files on it and install apache2 server on it also.
But I am unable to run localhost on it;
It giving error of "port not specified" when I am taking preview of it, on port 3000.

Please help me out regarding this.

I am following this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04

1

There are 1 best solutions below

8
Ankanna On
apache default port is 80
configure port 
change the local host to 0.0.0.0 instead 127.0.0.1

This will solve the problem

enter image description here

[![enter configure the port ][2]2

enter image description here