FlashpointProject / launcher

Launcher for Flashpoint Archive
https://flashpointarchive.org
Other
1.01k stars 55 forks source link

[BUG] Flashpoint fails to start if Internet Information Services is enabled in Windows Features #424

Open n3tis opened 6 months ago

n3tis commented 6 months ago

Describe the bug Flashpoint fails to start if Internet Information Services is enabled in Windows Features. It displays a msgbox saying "connect ETIMEDOUT 127.0.0.1:12001 [OK]"

To Reproduce Steps to reproduce the behavior:

  1. Go to appwiz.cpl (or Control Panel > Programs and Features)
  2. Click on 'Turn Windows features on or off'
  3. Scroll down to 'Internet Information Services'
  4. Mark the checkbox, save changes.
  5. Start Flashpoint, receive error message.

Expected behavior Starting Flashpoint. Oddly enough, I somehow quickly resolved this by just disabling the IIS, because I was testing something previously using it, so my process of elimination quickly deduced it was likely IIS interfering, and turning it off made Flashpoint launch like normal.

Desktop (please complete the following information):

Additional context Personally, I have no issue as I do not need IIS to be enabled, but I thought it is noteworthy that this gets added to some type of wiki so if anyone by any chance has that Windows feature enabled, that they know why their Flashpoint refuses to launch.

colin969 commented 3 months ago

Seems 12001 is used by IIS, you can change this under backPortMin in config.json. It's supposed to iterate up until it can find a port to use but I guess the way it's done isn't clean. May be able to fix that for later release, or change the lowest port default.