briffy / PiscesQoLDashboard

This is a replacement dashboard for the Pisces Helium Miner
43 stars 25 forks source link

[Feature Request] Check Port Status #16

Open fraggy2k opened 2 years ago

fraggy2k commented 2 years ago

I wonder if we/you can implement a simple portscan to the Home or Info page and check If 44158 is open? With colored text if the setup is ok or relayed and hoover text with short information that forwarding the port is recommended.

A short idea is this Code: if [ `curl -v --silent REMOTEIP:44158 2>&1 | grep -o multistream` == "multistream" ]; then echo "open"; else echo "closed"; fi