質問編集履歴

2

firewallについて追記

2018/07/23 11:01

投稿

kh101
kh101

スコア20

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,43 @@
38
38
 
39
39
  selinuxはdisableになっています。
40
40
 
41
+
42
+
43
+ firewalの起動時の設定は下記です。
44
+
45
+ ```ここに言語を入力
46
+
47
+ [root@localhost php]# firewall-cmd --list-all
48
+
49
+ public (active)
50
+
51
+ target: default
52
+
53
+ icmp-block-inversion: no
54
+
55
+ interfaces: enp0s3
56
+
57
+ sources:
58
+
59
+ services: ssh dhcpv6-client
60
+
61
+ ports: 8000/tcp 80/tcp 22/tcp
62
+
63
+ protocols:
64
+
65
+ masquerade: no
66
+
67
+ forward-ports:
68
+
69
+ source-ports:
70
+
71
+ icmp-blocks:
72
+
73
+ rich rules:
74
+
75
+ ```
76
+
41
- firewallはstopさせて
77
+ firewallはstopさせても繋がりせんでした
42
78
 
43
79
 
44
80
 

1

ホストOS、ゲストOSについて追記

2018/07/23 11:01

投稿

kh101
kh101

スコア20

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
 
4
4
 
5
+ ホスト windows10
6
+
5
- CentOS 7
7
+ ゲスト CentOS 7
6
8
 
7
9
  PHP 7.1.19
8
10
 
@@ -12,7 +14,7 @@
12
14
 
13
15
  php -S localhost:8000
14
16
 
15
- でビルトインサーバーを起動させて、ブラウザからhttp://localhost:8000に接続しようとしても、
17
+ でビルトインサーバーを起動させて、ホストのブラウザからhttp://localhost:8000に接続しようとしても、
16
18
 
17
19
 
18
20