The software I am trying to run needs to be able to receive connections on port 8001 but it cannot. Config locally looks good:
How can I debug this? Thanks
The software I am trying to run needs to be able to receive connections on port 8001 but it cannot. Config locally looks good:
How can I debug this? Thanks
Are you sure the service itself is up and running (that is, netstat -tulpen|grep :8001 lists an open port)?
If it is, it may be related to service-specific access rules. In that case, I'd suggest stopping your service and try to use netcat/nc in order to ensure that port 8001 can be contacted remotely (see Netcat/nc command with examples). This should allow you to rule out any non-service-related problems first.
Are you sure the service itself is up and running (that is, netstat -tulpen|grep :8001 lists an open port)?
If it is, it may be related to service-specific access rules. In that case, I'd suggest stopping your service and try to use netcat/nc in order to ensure that port 8001 can be contacted remotely (see Netcat/nc command with examples). This should allow you to rule out any non-service-related problems first.
Yes, it is listening.
I got it working (ie can accept connections on 8001) by following the commands under `You can also flush your entire iptables setup with the following:`.
I got it working (ie can accept connections on 8001) by following the commands under `You can also flush your entire iptables setup with the following:`.
After reboot it seems to reset the iptables settings and again cannot receive connections on 8001. So if anyone can offer advice on this it would be greatly appreciated.
Using Ubuntu 18.
After reboot it seems to reset the iptables settings and again cannot receive connections on 8001. So if anyone can offer advice on this it would be greatly appreciated. Using Ubuntu 18.
Try to save your tables after you flushed everything and/or applied additional rules (afterwards) to make it work: How to save iptables firewall rules permanently.
(However, you might also want to test for side effects first w.r.t. other services if you flush iptables rules.)