Localtunnel Localhost Server Expose Problem.
Hello everyone... I made a localhost server yesterday which would display an HTML website in local server. Here's the code below ################################# var http = require('http'); var fs = require('fs'); http.createServer(function (req, res) { fs.readFile('mywebsite.html', function(err, data) { res.writeHead(200, {'Content-Type': 'text/html'}); res.write(data); res.end(); }); }).listen(8080); ################################ Now I want to expose it using localtunnel. Step 1: I open 2 command windows Step 2: Start the localhost from a window And install the localtunnel using code below in another cmd window npm install -g localtunnel Step 3: Whenever I try exposing my server writing the code in the 2nd cmd window lt --port 8080 It takes longer time than usual to generate global website url. So long that appear negative sign to me. So, are my steps wrong or something is wrong with my computer. Thanks for your precious time.