質問編集履歴

1

追記

2019/02/12 05:55

投稿

Gr.
Gr.

スコア89

test CHANGED
File without changes
test CHANGED
@@ -65,3 +65,51 @@
65
65
 
66
66
 
67
67
  コマンドプロンプトとTera Termの違いすらおぼつかない初心者ですが、解決のヒントをいただけると幸いです。
68
+
69
+
70
+
71
+
72
+
73
+ ### 以下、追記
74
+
75
+
76
+
77
+ ```Vagrantfile
78
+
79
+ # Create a forwarded port mapping which allows access to a specific port
80
+
81
+ # within the machine from a port on the host machine. In the example below,
82
+
83
+ # accessing "localhost:8080" will access port 80 on the guest machine.
84
+
85
+ config.vm.network "forwarded_port", guest: 3000, host: 3000
86
+
87
+
88
+
89
+ # Create a private network, which allows host-only access to the machine
90
+
91
+ # using a specific IP.
92
+
93
+ config.vm.network "private_network", ip: "192.168.33.10"
94
+
95
+
96
+
97
+ # Create a public network, which generally matched to bridged network.
98
+
99
+ # Bridged networks make the machine appear as another physical device on
100
+
101
+ # your network.
102
+
103
+ # config.vm.network "public_network"
104
+
105
+ ```
106
+
107
+
108
+
109
+ > >vagrant ssh
110
+
111
+ IP address for eth0: 10.0.2.15
112
+
113
+ IP address for eth1: 192.168.33.10
114
+
115
+ Last login: Mon Feb 11 22:47:17 2019 from 10.0.2.2