rancher-desktop icon indicating copy to clipboard operation
rancher-desktop copied to clipboard

Rancher Dashboard (Deskboard) - Configure port for Steve

Open rak-phillip opened this issue 2 years ago • 3 comments

Problem Description

Other applications might already be bound to the ports that steve is using. It would be convenient to configure dashboard integration so that this can be changed if there is any conflict.

Proposed Solution

Introduce settings for Dashboard/Steve that will allow for changing ports or other settings.

Additional Information

This might be a bit difficult because dashboard expects a port to be specified when it is bundled, we might need to see if we can update this value on the fly.. Perhaps dashboard will need to be updated to read from some sort of configuration object.

rak-phillip avatar Mar 24 '22 19:03 rak-phillip

An alternative would be to let steve pick a random available port, and let RD pick that up somehow.

jandubois avatar Mar 24 '22 21:03 jandubois

I had the same problem. The dashboard uses 9080 as its default port. I used these commands Get-Process -Id (Get-NetTCPConnection -LocalPort YourPortNumberHere).OwningProcess Get-Process -Id (Get-NetUDPEndpoint -LocalPort YourPortNumberHere).OwningProcess to discover which application on my computer using this port and it was Logitech lghub mousr software! I closed the software then the dashboard worked!

sherifosama92 avatar May 08 '22 07:05 sherifosama92

FYI, this isn't limited to Windows - I have this same issue on my Mac (Monterey 12.5) due to the referenced Logitech Ghub conflict. As a workaround, I can start RD first, then start Ghub and everything seems to work fine as Ghub will pick a different port than 9080. For me, using the workaround on my Mac results in the following port assignments:

$ lsof -l -P | grep LISTEN | grep -E 'steve|lghub
steve     42402      502    9u     IPv4 <snip>        0t0                 TCP localhost:9443 (LISTEN)
steve     42402      502   10u     IPv4 <snip>        0t0                 TCP localhost:9080 (LISTEN)
lghub_age 42592      502   23u     IPv4 <snip>        0t0                 TCP localhost:9081 (LISTEN)
lghub_age 42592      502   24u     IPv4 <snip>        0t0                 TCP localhost:9010 (LISTEN)

televi avatar Aug 22 '22 18:08 televi

Hi Team, my org is in the process of transitioning from Docker Desktop to Rancher Desktop, and during this process we are unable to get a local application up on port 9443 due to the fact that Rancher uses it. This was working with Docker Desktop before. Our local app is tightly configured with port 9443 and used across teams as standard config, so we cannot change it. Having no option of changing this port on the Rancher Desktop, seems to be a serious issue.

When will a solution be in place for this issue. Please provide some insight!

Skfazil avatar Sep 19 '22 10:09 Skfazil

This would also be helpful for debugging applications outside of docker containers like https://github.com/rancher/webhook that use port 9443

KevinJoiner avatar Nov 17 '22 13:11 KevinJoiner

Hello! Is there any workaround to customize Steve ports at the moment?

artemkaxboy avatar Jan 30 '23 08:01 artemkaxboy

Hi Team, Any update on this issue. Our services use the ports, and configuring rancher desktop to use specific ports would be a more elegant solution than other options.

swcolley avatar Apr 18 '23 18:04 swcolley

I'm having the same problem as I have another process running on port 9080. It would be great if it was configurable.

samuelfsk avatar Feb 07 '24 19:02 samuelfsk