Griefed / ServerPackCreator

Create a server pack from a Minecraft Forge, NeoForge, Fabric, LegacyFabric or Quilt modpack!
https://serverpackcreator.de
GNU Lesser General Public License v2.1
187 stars 10 forks source link

[Feature ask]: Web Server Port Configuration #487

Closed AzureDoom closed 9 months ago

AzureDoom commented 9 months ago

Whats the feature you would like to be added?

Configuration value for the port that the web server would run on.

Anything else you would like to add?

This is primarily a feature request as to be able to run multiple instances of the SPC from the same machine/IP.

Code of Conduct

Griefed commented 9 months ago

Heyo,

try setting server.port=8080 in the serverpackcreator.properties. That should change the listening port for the webservice.

AzureDoom commented 9 months ago

I assume that's one I set manually? Notice it's not a default one but testing now!

AzureDoom commented 9 months ago

Yup, that works perfectly! Thanks again!

Griefed commented 9 months ago

What do you mean by Notice it's not a default one? From my experience, port 8080 is pretty much a default one to prevent clashes with port 80.

AzureDoom commented 9 months ago

What do you mean by Notice it's not a default one? From my experience, port 8080 is pretty much a default one to prevent clashes with port 80.

Not a default configuration option is what I meant, sorry, but simply adding that line worked for it as I wanted to move to other ports to run more than one instance once the web panel issue is fully sorted. I plan in running 3 instances so being able to with different ports/folders will help me a ton!