/dev/tcp/... を使ってlistenする方法はない
まず/dev/tcp/ホスト/ポートでTCP接続する方法はBashにある機能。zshなどにもあるかもしれないがLinuxやUnixにある機能ではない様子。 以下に書かれている通りbashのソース上でlistenするためのbind(2)を呼んでいないためlistenする方法は
ないとのこと。
Unfortunately it's impossible to do with just bash. /dev/tcp/<ip>/<port> virtual files are implemented in the way that bash tries to connect to the specified <ip>:<port> using connect(2) function. In order to create listening socket, it would have to call bind(2) function.
上記のリンク先書かれている/lib/sh/netopen.cは以下で確認できた。