FitNesseRoot.Fitnesse.UserGuide.WritingAcceptanceTests.SliM.SlimProtocol.PortManagement.content.txt Maven / Gradle / Ivy
The !-SlimServer-! opens and listens to a server socket. It gets the port number from !-FitNesse-! via the command line. The default is 8085 and it cycles through the next 10 ports to avoid collisions. If 8085 is not convenient for you, you can set the !style_code(SLIM_PORT) variable to any port you like. This variable can be defined on a page by page basis with !-!define-!, or it can be specified with !style_code(-DSLIM_PORT=xxxx) on the !style_code(java) command line, or it can be an environment variable.