Configure a different port - syd711/vpin-studio GitHub Wiki
By default, the Studio Server is using port 8089. If for some reason this port should not be used, you have the option to switch to a different one. For that, you have to change the server and all clients.
Change Server Port
To start the VPin Studio Server on a different port, execute the folling steps on your cabinet.
- Terminate the VPin Studio Server via the tray icon ("Terminate").
- In the VPin Studio installation folder, open the file VPin-Studio-Server.l4j.ini.
- Add the line -Dserver.port=YOUR PORT NUMBER.
- Save the file and double click the VPin-Studio-Server.exe. It should start in a console window. The console should stay open and not auto-close itself.
Change the Client Port
To change the default port the client is using, define a new environement variable studio.server.port which has the value of the new port to use.
Emulator Start/Exit Scripts
The VPin Studio Server generates curl calls into the start and exit scripts of the frontend using the currently configured port. These are checked and, if necessary, rewritten automatically every time the server starts, so a port change no longer requires manually editing or cleaning up these scripts.