#Express.js
61 messages · Page 1 of 1 (latest)
as long as u open a port and allow it thru the firewall it will be public
on ubuntu, ufw allow <port>
will give it a shot just installing ubuntu now
u were not on ubuntu?
nope i was on windows server
ahahahhahahaaahhhhh. never use windows to host stuff like this
im pretty new with vps i threw myself in the deep end lol
yep
so many people do that
i plan not to give up though
windows server is only for windows-only stuff
makes sense
its not hard, but remember that linux like ubuntu don't have a gui
ah makes sense
i wouldn't recommend using it unless u have a basic knowledge of command line usage
i do know some command line but probably not enough
what would be your next suggestion in that case?
continue :P
well, you said u were using express.js
if u gave me some more context i can think of a better idea
a static website?
no
ok then
you would need express
so once u get ur ubuntu going
- install node via apt
- install express with npm
- upload ur scripts to the server
- use screen or similar software to run express
- ufw allow <port>
ight ight so how do i access ubuntu
@marsh siren, you just advanced to level 2 !
i aint got a clue how to
its installed
just dont know how to access it
says i can access via ssh which i still cant comprehend
pebble should have emailed u the ip and password
yup i do indeed have it
open a terminal and ssh root@<your ip> then paste in the password and press enter
are you on windows or other os (ur computer)
windows
ah makes sense
i have the ubuntu client on windows
uhh not sure what that is
oh no
that's the run ubuntu on ur windows thing
i think
ubuntu termal
terminal
in other words
permission denied public key
or some shit
uhh
i'm not familiar with that
just use an ssh client
like terimus or putty
ight
ended up getting express js to run on windows
ok, if it works it works. Just know that if you are going to do anything more complicated in the future you will need to look at linux