Windows local webserver, no IIS or Windows webserver

janhoedt
janhoedt used Ask the Experts™
on
Hi,

I 'd need a light weight and safe webserver for running on a Windows 10 OS. It only needs to run 1 webpage (http://localhost) which is generated via Powershell on a daily basis.
Windows webserver is much to heavy for this purpose.
Not sure but is NodeJS an option (don't know what it actually does but heard a lot of good stuff about it).

J
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
is NodeJS an option

No, NodeJS is a java script run time environment

Do you even need a webserver?

If the generated document is a basic HTML page, just create a shortcut to the document folder.

Any browser should load the HTML from the document just fine.
Distinguished Expert 2018

Commented:
Or iisexpress.
David FavorFractional CTO
Distinguished Expert 2018

Commented:
You can always use netcat or a shell like bash.

https://stackoverflow.com/questions/16640054/minimal-web-server-using-netcat provides details of several light weight variations.
Distinguished Expert 2017

Commented:
not quite clear what the point of what it is you are trying to achieve, http://localhost is accessible only locally. what will be accessing this "generated page"?
You could look at apache, but not sure how light you need.
What will the page be? pleain static messages/pages?
Information Services Manager
Commented:
Tinyweb server
Lightweight simple web server

https://www.ritlabs.com/en/products/tinyweb/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial