getgauge / Intellij-Plugin

Gauge IntelliJ IDEA plugin
Apache License 2.0
44 stars 28 forks source link

Use a saner range of ports to connect to Gauge Daemon #400

Open nehashri opened 5 years ago

nehashri commented 5 years ago

IntelliJ plugin starts the Gauge daemon with a random free port. There is no range from which the port is picked up. If the port is blocked by the firewall, then the Gauge IntelliJ plugin fails as it cannot establish a connection with the Gauge daemon. In the Visual Studio plugin, the Gauge daemon only starts with a specified port range (46337 - 46997) by default. Furthermore, this range can be configured in the plugin.

This helps the system administrators to allow a specific range of ports open in firewall. Gauge can connect to these ports only to avoid Connection Refused errors.

Expected Behaviour