Is there a way to find the correct port number for the server.startup.bat file?
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
3 answers
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
Whenever you run a shell script (bat file on Windows) from the UI (rather than a command prompt) the default OS behavior is to create a command prompt to launch the shell script and then close the command prompt. If you want to see the console output, start the command prompt manually and then run the shell script from the command prompt. This will give you a little more time to investigate any output from the shell script invocation.
Comments
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
I believe the profile of the web server is WebSphere Liberty Profile. Are there any suggested files I should look into for this profile to find out the port number? Thanks.
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
There was a suggestion about removing the "address=..." line in the startup text file to find the port number. However, it's suggested that it can be found on the top window of the Liberty console. However, I'm not sure how to locate the Liberty Console.
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
Comments
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
The RTC version is 6.0.6 and I'm running on Windows 10-not Linux...
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
Update- I have run the server startup file on cmd ( as an admin) and receive the following message afterwards...
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
Using the Workshop for version 6.0.3 for a version 4.5 is not a bright idea. Failing to provide this information in the first place is incomprehensible.
![](http://jazz.net/_images/myphoto/e8c9420b2c214e9e55a45c0723f3538e.jpg)
1) I used the combination Windows 10 and 6.0.6 and have no problem at all.
set JAVA_OPTS=%JAVA_OPTS% -Djava.awt.headless=true rem set JAVA_OPTS=%JAVA_OPTS% -Xdebug rem set JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3388 set JAVA_OPTS=%JAVA_OPTS% -Duser.language=en
set JAVA_OPTS=%JAVA_OPTS% -Djava.awt.headless=true set JAVA_OPTS=%JAVA_OPTS% -Xdebug set JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,server=y,suspend=n rem set JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3388 set JAVA_OPTS=%JAVA_OPTS% -Duser.language=en
![](https://jazz.net/forum/upfiles/DebugServerStartup2019-03-01_08-33-59.png)