
突然、bubbleupnpserver が http の場合はポート 58050、https の場合はポート 58051 に接続できなくなりました。昨日は動作していましたが、サーバーに変更はなく、今日は動作しなくなりました。fail2ban のせいでしょうか? エラー:
HTTP: ERROR: Cannot connect. Check that the public host name is valid and that port 58050 is opened on your router
HTTPS: ERROR: Cannot connect. Check that the public host name is valid and that port 58051 is opened on your router
iptables の出力は次のとおりです。
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere ns375259.ip-5-196-88.eu tcp dpt:58051
ACCEPT tcp -- anywhere ns375259.ip-5-196-88.eu tcp dpt:58050
f2b-sshd tcp -- anywhere anywhere multiport dports s sh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain f2b-sshd (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
提案されているように、netstat -tulpn でこのポートのエントリが 2 つ見つかりました。次のようになります。
tcp 0 0 0.0.0.0:58050 0.0.0.0:* LISTEN 1455/java
tcp 0 0 0.0.0.0:58051 0.0.0.0:* LISTEN 1455/java