CodeboxIDE / codebox

Open source cloud & desktop IDE
https://www.codebox.io
Apache License 2.0
4.11k stars 589 forks source link

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

Open wangzhihaocom opened 8 years ago

wangzhihaocom commented 8 years ago

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

dklesev commented 8 years ago

+1