cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.07k stars 365 forks source link

Allow a nonstandard port to be used #748

Closed peepsnet closed 6 years ago

peepsnet commented 6 years ago

This can allow for the info to be retrieved from behind a firewall with different ports.

Whichever port the script is called from it will use to make calls back

JCBird1012 commented 6 years ago

Why would this be necessary considering Stratux's use-case? Stratux's info page should primarily be accessed from a mobile device connected directly to the Stratux's wifi network... Is the implication that there will be a firewall directly between your EFB device of choice and Stratux itself — that is a very non-standard setup and something that either @Helno or @cyoung should weigh in on further.

I can see it possibly being useful in developing? But otherwise, there should be very few reasons that there will ever be a firewall between the primary device and Stratux.

peepsnet commented 6 years ago

More compatible with any situation that one may be found within.

There was a request to force the data to IP/IPs (See Settings -> Static IPs) so a user could hook the Stratux to the WIF in the aircraft and send data to the tablets the Pilots use.

It is then reasonable to believe many different options can be used. Why not give maximum compatibility to the user. What does it hurt??

It can only help!

peepsnet commented 6 years ago

upon further review...

It appears the changes are in the current master... I do not understand it... https://github.com/cyoung/stratux/blob/master/web/js/main.js