質問編集履歴

4

ついき

2016/09/15 09:29

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -220,7 +220,7 @@
220
220
 
221
221
 
222
222
 
223
-
223
+
224
224
 
225
225
 
226
226
 

3

ついき

2016/09/15 09:29

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -217,3 +217,37 @@
217
217
  > [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
218
218
 
219
219
  curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ > [ec2-user@ip-172-31-xx-xx init.d]$ sudo netstat -tlnp
228
+
229
+ Active Internet connections (only servers)
230
+
231
+ Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
232
+
233
+ tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2142/rpcbind
234
+
235
+ tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2317/sshd
236
+
237
+ tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 2372/postmaster
238
+
239
+ tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 19248/master
240
+
241
+ tcp 0 0 0.0.0.0:58024 0.0.0.0:* LISTEN 2163/rpc.statd
242
+
243
+ tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 18545/mysqld
244
+
245
+ tcp 0 0 :::44590 :::* LISTEN 2666/java
246
+
247
+ tcp 0 0 :::111 :::* LISTEN 2142/rpcbind
248
+
249
+ tcp 0 0 :::8080 :::* LISTEN 2666/java
250
+
251
+ tcp 0 0 :::22 :::* LISTEN 2317/sshd
252
+
253
+ tcp 0 0 :::55807 :::* LISTEN 2163/rpc.statd

2

引用

2016/09/15 09:28

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -214,6 +214,6 @@
214
214
 
215
215
 
216
216
 
217
- [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
217
+ > [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
218
218
 
219
219
  curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused

1

変更

2016/09/15 09:24

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -211,3 +211,9 @@
211
211
  EC2のダッシュボードのセキュリティグループの設定で80,8080,82は
212
212
 
213
213
  許可してあります。nginx.confのどのあたりを修正すべきでしょうか。
214
+
215
+
216
+
217
+ [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
218
+
219
+ curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused