Rails-tutorial Chapter 1: rails server isn't working on Cloud9

后端 未结 4 637
说谎
说谎 2021-02-04 12:58

https://www.railstutorial.org/book/beginning#sec-rails_server

I have reached this step, and I\'m using the cloud9 environment. When I run the server as per Listing 1.7 o

4条回答
  •  自闭症患者
    2021-02-04 13:39

    I ended up starting the tutorial from scratch again and it worked fine, but anyone with this problem in the future may find this troubleshooting technique I received from cloud9's support team useful:


    Try:

    lsof -i:8080
    

    This will give the app that occupies it.

    If apache, stop it using:

    sudo /etc/init.d/apache2 stop
    

    Hope this answer is of use to anyone with this problem.

提交回复
热议问题