dzove855/Bash-web-server

Accept requests in lan

Closed this issue · 2 comments

Currently the web server can only be accessed in the same machine, I want to support accessing from lan without netcat and other tools. Any ideas about it?

The Webservee can be used putside the lan, you just need to specify the bind address with the variable:

export BIND_ADDRESS=0.0.0.0 and then start the script

Exactly, Thanks!