Back to Browse

CIS658 - Ruby on Rails Startup Helper

75 views
Jan 4, 2023
10:42

Reference video in case if you need help getting Rails applications to be public on Google Cloud. Covered in this video: * Running Rails on the correct IP/port: `bin/rails server -b 0.0.0.0 -p 8080` * Note: the port doesn't matter as long as you have it open in the local/VPC firewall AND your client knows where to connect! * Opening firewall ports: * In Ubuntu: `sudo ufw allow 8080` * In Google VPC: * Navigate to VPC firewall, edit default-allow-http, add on `,8080` to the TCP rule.. One thing I forgot to mention, if you want to leave it running and be able to close your SSH session, run it in tmux and detach before closing!

Download

0 formats

No download links available.

CIS658 - Ruby on Rails Startup Helper | NatokHD