Last active
June 19, 2017 15:07
-
-
Save yoshiya54/8fa3b4fd6c8c8b45eddc976c877ce895 to your computer and use it in GitHub Desktop.
Vagrantでwebサーバを動かしてハマったこと ref: http://qiita.com/yoshiya64/items/09c94bd70c00bde5335c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails new [project name] | |
rails -s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -an | |
tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails s -b 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.network "forwarded_port", guest: 3000, host: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl stop firewalld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment