GitbookIO / nuts

:chestnut: Releases/downloads server with auto-updater and GitHub as a backend
http://nuts.gitbook.com
Apache License 2.0
1.25k stars 299 forks source link

unable to run it locally #126

Open akashnimare opened 7 years ago

akashnimare commented 7 years ago

I'm trying to test it locally but always getting page is not available error. Steps I took -

I ended up with this -

image Can someone point me to the right direction? cc @SamyPesse

AlienHoboken commented 7 years ago

The issue is that port 6000 is blocked by many browsers. It is blocked to protect against cross-protocol scripting attacks as a vulnerable service (X11) runs on this port.

To fix the issue simply use another port (eg. 5000) which is not blocked or in use.

export PORT=5000

For a complete list of blocked ports and for more background see: http://www-archive.mozilla.org/projects/netlib/PortBanning.html https://code.google.com/archive/p/browsersec/wikis/Part2.wiki#Port_access_restrictions