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

(500 Internal Server Error for URL: http://localhost:8100/api/timeline) #dev4living/HeyCommunity #53

Closed
Theos17 opened this issue Feb 26, 2017 · 3 comments

Comments

@Theos17
Copy link

commented Feb 26, 2017

I am trying to run a dev4living/HeyCommunity webApp on a local host but i'm getting the following error:
Error: connect EADDRINUSE 127.0.0.1:8100
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)

12
13
14
15
16
i used the lastest update dev-playing : dev4living/HeyCommunity-backend and dev4living/HeyCommunity-frontend

What should i do to fix this error?
Your assistance will be very much appreciated.

@supgeek-rod

This comment has been minimized.

Copy link
Member

commented Feb 26, 2017

You WebApp through ionic serve,you may need to define the window.API_DOMAIN
ionic.config.json proxies define the proxy.

"path": "/api",
"proxyUrl": "http://demo.hey-community.com/api",

It's meets, you access http://localhost:8100/api (your window.localhost.host) equal to access http://demo.hey-community.com/api

So your proxyUrlshould not be http://localhost:8100/api,You need to deploy the backend and fill in the correct proxyUrl, like http://demo.hey-community.com/api

Forgive me bad English

@supgeek-rod

This comment has been minimized.

Copy link
Member

commented Feb 26, 2017

@Theos17

This comment has been minimized.

Copy link
Author

commented Feb 27, 2017

okay, thanks !
lets me try them .
by the way , your English is good !

@supgeek-rod supgeek-rod closed this Mar 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.