Show pagesourceOld revisionsBacklinksBack to top × Netcat as Webserver Netcat is ...; manpage: netcat As default OpenWrt installs busybox-ash (that is the Busybox-fork of the Debian implementation of the Almquist shell (see → http://www.in-ulm.de/~mascheck/various/ash/#busybox). In case you want to read about it.) busybox-nc (= the busybox implementation of netcat) does not support server mode. You can anytime replace those packages by they original counterparts: opkg install bash netcat Examples: https://forum.openwrt.org/viewtopic.php?pid=210001#p210001 http://www.razvantudorica.com/08/web-server-in-one-line-of-bash/ while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; cat /tmp/index.html; } | netcat -l -p 8080; done https://github.com/TooTallNate/bashttpd - A web server written in bash , implementation that “Simplify things by using pipes” This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies Last modified: 2020/01/27 07:30by dscr