Shinyproxy 2.6.1 (port issue 9090)

I try to set the port as shown below
proxy:
title: Open Analytics Shiny Proxy
logo-url: https://www.openanalytics.eu/shinyproxy/logo.png
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
port: 10023
authentication: ldap
admin-groups: scientists

Example: ‘simple’ authentication configuration

However, when I try to run
java -jar shinyproxy-2.6.1.jar

It gives this error


APPLICATION FAILED TO START


Description:

Web server failed to start. Port 9090 was already in use.

Despite of the fact that I gave the port 10023

Hello.

The 9090 port is not used by shinyproxy itself, but by Java. Apparently, you already have something running on java in your system, which means that port 9090 is taken.

You can bypass this by adding the following at the top of your application.yml file:

management:
  server:
    port: 9091

In this case, we configure shinyproxy to tell java to use 9091 instead of its default port (9090).

1 Like

Thanks iernicus
Its working now !!
Posting configurations for others to use later!

management:
server:
port: 9092
proxy:
title: Open Analytics Shiny Proxy
logo-url: https://www.openanalytics.eu/shinyproxy/logo.png
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
port: 9001
authentication: simple
admin-groups: scientists

Example: ‘simple’ authentication configuration