梅老師~ 想詢問一下 我照您的教學設定好後,也正常裝上wordpress了,但想要設定https時,瀏覽器則會秀 拒絕連線 使用telnet 查詢 telnet 35.234.63.123 443 Trying 35.234.63.123… telnet: connect to address 35.234.63.123: Connection refused telnet: Unable to connect to remote host 我看防火牆的https 及 port 443都是有開啟的,但從Centos 中打指令, 則是沒看到443 port ,要請教梅老師這部份是要怎麼弄才對?謝謝梅老師回答 netstat -tulnp (No info could be read for “-p”: geteuid()=500 but you should be root.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 10.140.0.7:53 0.0.0.0:* LISTEN – tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN – tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN – tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN – tcp 0 0 :::21 :::* LISTEN – tcp 0 0 :::22 :::* LISTEN – tcp 0 0 :::80 :::* LISTEN – udp 0 0 10.140.0.7:53 0.0.0.0:* – udp 0 0 127.0.0.1:53 0.0.0.0:* – udp 0 0 0.0.0.0:68 0.0.0.0:* – udp 0 0 10.140.0.7:123 0.0.0.0:* – udp 0 0 127.0.0.1:123 0.0.0.0:* – udp 0 0 0.0.0.0:123 0.0.0.0:* – udp 0 0 fe80::4001:aff:fe8c:7:123 :::* – udp 0 0 ::1:123 :::* – udp 0 0 :::123 :::* –
梅老師~
想詢問一下 我照您的教學設定好後,也正常裝上wordpress了,但想要設定https時,瀏覽器則會秀 拒絕連線
使用telnet 查詢
telnet 35.234.63.123 443
Trying 35.234.63.123…
telnet: connect to address 35.234.63.123: Connection refused
telnet: Unable to connect to remote host
我看防火牆的https 及 port 443都是有開啟的,但從Centos 中打指令, 則是沒看到443 port ,要請教梅老師這部份是要怎麼弄才對?謝謝梅老師回答
netstat -tulnp
(No info could be read for “-p”: geteuid()=500 but you should be root.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.140.0.7:53 0.0.0.0:* LISTEN –
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN –
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN –
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN –
tcp 0 0 :::21 :::* LISTEN –
tcp 0 0 :::22 :::* LISTEN –
tcp 0 0 :::80 :::* LISTEN –
udp 0 0 10.140.0.7:53 0.0.0.0:* –
udp 0 0 127.0.0.1:53 0.0.0.0:* –
udp 0 0 0.0.0.0:68 0.0.0.0:* –
udp 0 0 10.140.0.7:123 0.0.0.0:* –
udp 0 0 127.0.0.1:123 0.0.0.0:* –
udp 0 0 0.0.0.0:123 0.0.0.0:* –
udp 0 0 fe80::4001:aff:fe8c:7:123 :::* –
udp 0 0 ::1:123 :::* –
udp 0 0 :::123 :::* –
如要綁定https , 需先申請憑證,並安裝後才能顯示