Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On sever start it shows #22

Closed
Miteshivgroup opened this issue Aug 1, 2017 · 2 comments
Closed

On sever start it shows #22

Miteshivgroup opened this issue Aug 1, 2017 · 2 comments

Comments

@Miteshivgroup
Copy link

Miteshivgroup commented Aug 1, 2017

The server does not work on public ipadress of the server but if we run it on private IP server runs properly is this problem on sever or the electrode server?

Unhandled rejection Error: listen EADDRNOTAVAIL XXX.XXX.XXX.XXX:6180
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at Server._listen2 (net.js:1245:19)
at listen (net.js:1294:10)
at net.js:1404:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

@jchip
Copy link
Member

jchip commented Aug 2, 2017

why don't you check to see if nodejs' default demo works https://nodejs.org/en/about/

It looks like you OS is not allowing the port to be used on the public ip.

@Miteshivgroup
Copy link
Author

As you said to check default https://nodejs.org/en/about/ the server is not working but if I use express module to get the http request it works and in electrode I am using hapi plugin so what are the ways to switch my server from hapi to express in electrode can you provide a link for the same, or what mechanism express uses so that I can do at my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants