ngrok http
Install ngrok by visiting the ngrok website and following the instructions for your operating system.
After installation, open a terminal and navigate to the directory where ngrok is located.
Run the following command to start an HTTP tunnel using ngrok:
./ngrok http [port_number]
Replace [port_number] with the port number of the local server you want to expose.
Upon running the command, ngrok will provide you with a public URL that forwards to your local server. This URL can be used to access your local server from anywhere on the internet.