首页 文章

如何在nitrous.io Ubuntu Stack中运行apcahe2 localhost

提问于
浏览
0

我在nitrous.io Cloud 平台上运行ubuntu堆栈 .
我想在其上运行php文件并在其上安装apache2服务器 .
但我无法在其上运行localhost;
当我在端口3000上进行预览时,它给出了“ port not specified ”的错误 .

请帮我解决这个问题 .

我正在关注本教程:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04

1 回答

  • 0
    apache default port is 80
    configure port 
    change the local host to 0.0.0.0 instead 127.0.0.1
    

    这将解决问题

    enter image description here

    [![输入配置端口] [2] 2

    enter image description here

相关问题