Skip to content

Access not from localhost #3

@yellowhat

Description

@yellowhat

Hi,
I would like to run server-docker on a separate PC.

I run:

git clone https://github.com/stremio/server-docker --depth 1
cd server-docker
podman build --build-arg VERSION=v4.19.0 -t stremio/server:latest .
podman run -it --rm -p 11470:11470 stremio/server:latest

If I access localhost:11470, it redirects to https://app.strem.io/shell-v4.4/?streamingServer=http%3A%2F%2Flocalhost%3A11470#/, and I can play video.

Instead I access 192.168.178.21:11470 (computer IP), it redirects to https://app.strem.io/shell-v4.4/?streamingServer=http%3A%2F%2F192.168.178.21%3A11470#/, under "Settings" > "Streaming" > "Streaming server URL" is http://192.168.178.21:11470 but it shows Streaming server is not available.

I do not think that it is a firewall problem as I can:

$ curl http://192.168.178.21:11470/settings
{"options":[{"id":"localAddonEnabled","label":"ENABLE_LOCAL_FILES_ADDON","type":"checkbox"},{"id":"remoteHttps","label":"ENABLE_REMOTE_HTTPS_CONN","type":"select","class":"https","icon":true,"selections":[{"name":"Disabled","val":""},{"name":"10.0.2.100","val":"10.0.2.100"}]},{"id":"cacheSize","label":"CACHING","type":"select","class":"caching","icon":true,"selections":[{"name":"no caching","val":0},{"name":"2GB","val":2147483648},{"name":"5GB","val":5368709120},{"name":"10GB","val":10737418240},{"name":"","val":null}]}],"values":{"serverVersion":"4.19.0","appPath":"/root/.stremio-server","cacheRoot":"/root/.stremio-server","cacheSize":2147483648,"btMaxConnections":55,"btHandshakeTimeout":20000,"btRequestTimeout":4000,"btDownloadSpeedSoftLimit":2621440,"btDownloadSpeedHardLimit":3670016,"btMinPeersForStable":5,"remoteHttps":"","localAddonEnabled":false},"baseUrl":"http://10.0.2.100:11470"}

I get the same behaviour with:

podman run -it --rm -p 11470:11470 -e NO_CORS=1 stremio/server:latest

Any suggestions?

Thanks

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