Message from @Durtle02

Discord ID: 462138712269127680


2018-06-29 06:08:48 UTC  

I gtg in like 2 mins lol

2018-06-29 06:09:00 UTC  

Yeah something similar

2018-06-29 06:09:28 UTC  

now that's the server file right?

2018-06-29 06:09:44 UTC  

also i can pick up "tomorrow " if needed

2018-06-29 06:09:47 UTC  

yes

2018-06-29 06:10:04 UTC  

that is an example "app.js" or whatever you want to call it

2018-06-29 06:10:30 UTC  

here is the tutorial I took that example from

2018-06-29 06:10:44 UTC  

and i'd run "node app" from ssh?

2018-06-29 06:11:28 UTC  

if you were ssh'ing into your server, yes

2018-06-29 06:11:54 UTC  

redd ~$ node ./app
Server running...

2018-06-29 06:11:58 UTC  

something like that

2018-06-29 06:12:12 UTC  

pretty sure you don't need the `./` part tho

2018-06-29 06:12:23 UTC  

whatever works ¯\_(ツ)_/¯

2018-06-29 06:12:30 UTC  

and then what would be the client side url

2018-06-29 06:13:00 UTC  

if you are running it on your computer, `http://localhost:4200/`

2018-06-29 06:13:26 UTC  

now I'm stuck cause im on shared hosting

2018-06-29 06:13:36 UTC  

if you are running on a server, `http://<server ip>:4200/`

2018-06-29 06:13:43 UTC  

what do you mean by that?

2018-06-29 06:13:55 UTC  

like, through bluehost

2018-06-29 06:14:15 UTC  

i cant open ports and dont have access to 80 so I dont think i can do it

2018-06-29 06:14:24 UTC  

you can use any port

2018-06-29 06:14:34 UTC  

they have them all closed

2018-06-29 06:14:41 UTC  

?

2018-06-29 06:14:49 UTC  

open a support ticket

2018-06-29 06:14:56 UTC  

you are missing something

2018-06-29 06:15:01 UTC  

wait

2018-06-29 06:15:08 UTC  

do you have root access to the server?

2018-06-29 06:15:13 UTC  

dont think so

2018-06-29 06:15:24 UTC  

try `sudo node app`

2018-06-29 06:15:29 UTC  

then type your password

2018-06-29 06:15:38 UTC  

I really gtg

2018-06-29 06:16:08 UTC  

alright cya

2018-06-29 06:16:15 UTC  

but if that doesn't work, ask them about server hosting on port 80

2018-06-29 06:16:17 UTC  

I'm in jailshell

2018-06-29 06:16:24 UTC  

that's my ssh

2018-06-29 06:16:28 UTC  

they are a webhosting company, it needs to work lol

2018-06-29 06:16:34 UTC  

alright lol

2018-06-29 06:16:37 UTC  

thanks

2018-06-29 06:18:51 UTC  

Yeah, F
Error: listen EACCES 0.0.0.0:80

2018-06-29 08:44:25 UTC  

Your hosting company might have a preferred way to allow it, if at all. Better to ask them.