lundi 26 novembre 2018

How to test if Puma is running?

Followed this tutorial

https://stormconsultancy.co.uk/blog/development/ruby-on-rails/switching-pow-puma-rails-development/

Getting "Unable to Connect" when hitting these URL's https://statrubytwotwo.dev OR http://statrubytwotwo.dev

Terminal Feedback:

MacBook-Pro-2:statrubytwotwo jn$ puma-dev
* Directory for apps: /Users/jn/.puma-dev
* Domains: test
* DNS Server port: 9253
* HTTP Server port: 9280
* HTTPS Server port: 9283
! Puma dev listening on http and https

Turnedoff and on wifi

Shutdown browser

Hit the URL

Anyone know how to test this to be sure I am hitting the server? I tried tailing it but nothing happens but what is listed above in the terminal.

If I curl:

curl -H "Host: puma-dev" localhost/status

returns

{}

Aucun commentaire:

Enregistrer un commentaire