Skip to content

How to change standard port mapping? #184

Description

@zexi

The comment in this piece of code says that the default port is 47989. Is there some way to configure the port that the service listens on by default? Seems like sunshine has base port configuration and the other ports will offset automatically.
I tried to use Docker to make the following port mapping, but it didn't succeed.

docker run \                                                       
    -p 20001:47984/tcp \                                               
    -p 20006:47989/tcp \                                           
    -p 20016:47999/udp \                                           
    -p 20027:48010/tcp \                                           
    -p 20117-20127:48100-48110/udp \
    -p 20217-20227:48200-48210/udp 
....

I can add wolf server($hostip:20006) in moonlight client and pairing via http://$hostip:20006/pin/#xxxxxxxx.

Image

But moonlight client shows connection refused after paired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions