質問編集履歴
4
ついき
title
CHANGED
File without changes
|
body
CHANGED
@@ -109,8 +109,8 @@
|
|
109
109
|
> [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
|
110
110
|
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
|
111
111
|
|
112
|
+
’
|
112
113
|
|
113
|
-
|
114
114
|
> [ec2-user@ip-172-31-xx-xx init.d]$ sudo netstat -tlnp
|
115
115
|
Active Internet connections (only servers)
|
116
116
|
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
3
ついき
title
CHANGED
File without changes
|
body
CHANGED
@@ -107,4 +107,21 @@
|
|
107
107
|
許可してあります。nginx.confのどのあたりを修正すべきでしょうか。
|
108
108
|
|
109
109
|
> [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
|
110
|
-
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
|
110
|
+
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
> [ec2-user@ip-172-31-xx-xx init.d]$ sudo netstat -tlnp
|
115
|
+
Active Internet connections (only servers)
|
116
|
+
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
117
|
+
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2142/rpcbind
|
118
|
+
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2317/sshd
|
119
|
+
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 2372/postmaster
|
120
|
+
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 19248/master
|
121
|
+
tcp 0 0 0.0.0.0:58024 0.0.0.0:* LISTEN 2163/rpc.statd
|
122
|
+
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 18545/mysqld
|
123
|
+
tcp 0 0 :::44590 :::* LISTEN 2666/java
|
124
|
+
tcp 0 0 :::111 :::* LISTEN 2142/rpcbind
|
125
|
+
tcp 0 0 :::8080 :::* LISTEN 2666/java
|
126
|
+
tcp 0 0 :::22 :::* LISTEN 2317/sshd
|
127
|
+
tcp 0 0 :::55807 :::* LISTEN 2163/rpc.statd
|
2
引用
title
CHANGED
File without changes
|
body
CHANGED
@@ -106,5 +106,5 @@
|
|
106
106
|
EC2のダッシュボードのセキュリティグループの設定で80,8080,82は
|
107
107
|
許可してあります。nginx.confのどのあたりを修正すべきでしょうか。
|
108
108
|
|
109
|
-
[ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
|
109
|
+
> [ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
|
110
110
|
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
|
1
変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -104,4 +104,7 @@
|
|
104
104
|
```
|
105
105
|
|
106
106
|
EC2のダッシュボードのセキュリティグループの設定で80,8080,82は
|
107
|
-
許可してあります。nginx.confのどのあたりを修正すべきでしょうか。
|
107
|
+
許可してあります。nginx.confのどのあたりを修正すべきでしょうか。
|
108
|
+
|
109
|
+
[ec2-user@ip-172-31-xx-xx init.d]$ sudo curl 127.0.0.1:80
|
110
|
+
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
|