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

Unable to run this project on "Node JS - AWS Lightsail instance" #22

Closed
rohitcoder opened this issue Mar 31, 2020 · 9 comments
Closed
Labels

Comments

@rohitcoder
Copy link

rohitcoder commented Mar 31, 2020

Hi @lovasoa ,

Thanks for creating this awesome project and making it public!
Can you please help me with installation on a remote server?

I installed this on my localhost and everything seems working. I used

Git clone https://github.com/lovasoa/whitebophir/
npm install
npm start

But, when I do this same on my AWS instance. its just listing all files and directories "index of/"

I also got this kind of response on my CLI

server started	{"port":8080}

Can you please help me fixing it ASAP?

Thanks,
Rohit Kumar

@lovasoa
Copy link
Owner

lovasoa commented Mar 31, 2020

It looks like the server started successfully on your remote instance, on port 8080, but you are trying to access the server on port 80, where something else (probably a default apache or nginx installation) is running.

@lovasoa
Copy link
Owner

lovasoa commented Mar 31, 2020

You can start WBO on a custom port by setting the PORT environment variable

@lovasoa
Copy link
Owner

lovasoa commented Apr 1, 2020

@rohitcoder Did this solve your issue ?

@rohitcoder
Copy link
Author

Hi @lovasoa ,

I was busy with something else. I'm checking it right now, and I'll let you know the status in comments :)

@rohitcoder
Copy link
Author

rohitcoder commented Apr 1, 2020

Hi @lovasoa ,

I am not getting any output its just keep loading http://X.X.X.X:9090/

this command i used

export PORT=9090
cd whitebophir
npm install
npm start

Response:

server started{"port":9090}

Any suggestions?

@lovasoa
Copy link
Owner

lovasoa commented Apr 1, 2020

Is port 9090 accessible from the outside on your server?

@lovasoa
Copy link
Owner

lovasoa commented Apr 1, 2020

anyway, the issue doesn't seem to be related to wbo.

@rohitcoder
Copy link
Author

Hi @lovasoa ,

Problem solved! We can close this report. After setting PORT i configured my firewall to allow PORT 9090 and it fixed this issue.

Again many many thanks for this project. Keep rocking bro! :)
And be safe from Corona Virus :)

We can close this report now.

Thanks,
Rohit

@lovasoa
Copy link
Owner

lovasoa commented Apr 1, 2020

You're welcome! Have fun with wbo :)

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

No branches or pull requests

2 participants