Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

expose localhost running static website to the internet - node express

NotificationsYou must be signed in to change notification settings

AImissq/tunnelMe-HowTo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. Install nodeJShttp://nodejs.org/

git clonehttps://github.com/AImissq/tunnelMe-HowTo.git or download the zip

put files to be served in views folder - index.html will automatically be rendered and served

Run "node app.js" from within the downloaded git repo folder, or uncompessed zip file location

Browse to 127.0.0.1:8080http://localhost:8080/

Create a public url for a static site from localhost

How to

  1. Get a free public URL for localhost fromhttps://packetriot.com/downloads

  2. OR get a public URL fromhttps://ngrok.com/

  3. OR get a public URL fromhttps://localhost.run/

  4. Or get a publc URL fromhttps://pagekite.net/

  5. Dowload repo and inside 'views' folder put your static site. Be aware that in view foldermust be present an 'index.html' file


Additional info by ackroydAI (aimissq)

To overcome dynamic ip addresses tryhttps://www.dynu.com/en-US/DynamicDNS

This is another free solution, albeit no option for a custom domain, but works wellhttp://localhost.run/

Also there is of coursehttps://ngrok.com/

You may see the error msg "(node:5323) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated"Switching to node v 10.11.0 removes the error.

About

expose localhost running static website to the internet - node express

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML96.1%
  • JavaScript3.9%

[8]ページ先頭

©2009-2025 Movatter.jp