For exposing localhost NodeJS and Apache we use free tool Localtunnel, in below video you can see our local host in apache server php and node js is easy expose to to global internet.This method also work for Tomcat Java Server too.

Install Localtunnel globally (requires NodeJS) to make it accessible anywhere
npm install -g localtunnel

Start a webserver on some local port (eg http://localhost:8000) and use the command line
interface to request a tunnel to your local server:

lt –port 3000
my port app

so we can see local nodejs app and appache from internet

thank you best regards stackprogramer



Tags: , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *