Check out and install NGROK and expose your web server with a public url. This makes life so much easier for developers.
Public URLs for exposing your local web server.
Install it on mac using brew :
brew cask install ngrok
Once you run this, url mapping and out would look like below, you can monitor the request as well.
ngrok by @inconshreveable (Ctrl+C to quit) Session Status online Session Expires 7 hours, 49 minutes Version 2.3.35 Region United States (us) Web Interface http://127.0.0.1:4040 Forwarding http://e4492278ee29.ngrok.io -> http://localhost:8080 Forwarding https://e4492278ee29.ngrok.io -> http://localhost:8080 Connections ttl opn rt1 rt5 p50 p90 1 0 0.00 0.00 49.45 49.45 HTTP Requests GET / 503 Service Unavailable GET / 503 Service Unavailable |