Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FrancoStino/3b31f581288554b0ea915076c0d1f604 to your computer and use it in GitHub Desktop.
Save FrancoStino/3b31f581288554b0ea915076c0d1f604 to your computer and use it in GitHub Desktop.
This code snippet sets up an HTTP connection to the localhost port 9000 and returns a string with no timeout.

Expose Localhost to the Internet with ngrok

Preview:
// Start a tool to expose a local server running on a specific port over HTTP
// Note: This code snippet requires ngrok to be installed on the system

ngrok http http://localhost:9000
Associated Context
Type Code Snippet ( .bat )
Associated Tags ngrok http HTTP client localhost port Web development API integration RESTful APIs Front-end Development User interface Network communication Framework: None ngrok localhost http
💡 Smart Description This code snippet sets up an HTTP connection to the localhost port 9000 and returns a string with no timeout.
Use ngrok to create a secure tunnel from a public endpoint to a locally running web service.
🔎 Suggested Searches
Related Links http://localhost:9000
https://www.geeksforgeeks.org/
https://www.geeksforgeeks.org/what-is-linked-list/
https://www.geeksforgeeks.org/data-structures/linked-list/
https://ngrok.com/docs
Related People Davide Ladisa
Sensitive Information No Sensitive Information Detected
Shareable Link https://davideladisa.pieces.cloud/?p=393f4781d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment