---
title: "Discussion on \"How to Setup a Simple HTTP Server/ Local Web Server with NodeJS\" | Hashnode"
description: "Discussion on \"How to Setup a Simple HTTP Server/ Local Web Server with NodeJS\". In this article, I am going to explain to you how to set up a simple HTTP web server on local machine using NodeJS. http-server npm package is used to run the web server, Its a single step task for serving static files on browser.\nInstall http-server..."
url: "https://hashnode.com/posts/how-to-setup-a-simple-http-server-local-web-server-with-nodejs/664dd4ca742d6d3ff6f9128f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Setup a Simple HTTP Server/ Local Web Server with NodeJS](https://jsonworld.hashnode.dev/how-to-setup-a-simple-http-server-local-web-server-with-nodejs?utm_source=hashnode&utm_medium=feed)

In this article, I am going to explain to you how to set up a simple HTTP web server on local machine using NodeJS. http-server npm package is used to run the web server, Its a single step task for serving static files on browser. Install http-server...

May 22, 2024 · 2 min read · jsonworld.hashnode.dev  
Read the article

## Written by

[Pankaj Kumar](https://hashnode.com/@pankaj-kr)

@pankaj-kr

  
[View profile](https://hashnode.com/@pankaj-kr)

Full Stack Developer- Expert in NodeJS, Firebase, Angular, ReactJS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
