Skip to content

ubuntu 22, start docker -> unable to connect #1

@j2l

Description

@j2l

I already have port 8000 taken by another container, I can't change it.
code.locahost is running fine on port 8400.
Following the tutorial , it creates a container, but since it has no port exposed, test.localhost simply fails.
When I manually set a random exposed port (say 49153), the container is accessible at http://0.0.0.0:49153 but test.locahost is still not resolved (while 8400 is resolved).
I also tried expose without luck https://hub.docker.com/r/nginxproxy/nginx-proxy
Livereload doesn't work, I have to restart the container from projects.

Any idea?

BTW, I don't get why we don't have a local execution for preview, like code.localhost/www/0_0test-0-0. Or maybe it exists on another path?

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