Skip to content

Where to define the port 2000 http://localhost:2000 #515

Open
@wangzhihaocom

Description

@wangzhihaocom

I have installed the CodeBox from the source code on my LOCAL server(offline), and the version is 0.8.3.

when I create a simple index.html(show hello world) page, and click RUN button, and it showed "Serving on http://localhost:2000"
It did show the Hello World,
but it only work on the localhost:2000, When I used the external IP instead of localhost, it did not work, cannot show the page.
I can use my external IP to launch the codebox like http://External_IP:8000 without any problem, but when I try to launch http://Exgternal_IP:2000. showed page not found.

Could you please tell me what the problem is, and is it possible to fix this?
And also the port: 2000. how and where did yo set this port? If I want to change the port, how can I do that?

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