For that you’ll have to setup port forwarding on both the router as well as the Android hotspot. I don’t know if it can be done or how to do it with/on the hotspot, so don’t know the pratice, only the theory.
no,no!
I attempted installing vanilla netcat but termux refused yelling the only available source was netcat-openbsd.
Seemingly, this netcat complains something about the -e option…
BTW:
-installed version is confirmed to be netcad-openbsd 1.21.7-2-3
-even without -k option does not want to work
WHAT WORKS:
nc -p 8000 192.168.40.20 8000 seems at least to be accepted (not sure working…)
There is no -c or -e option in this netcat, but you still can execute a command after connection being established by redirecting file descriptors. Be cau‐
tious here because opening a port and let anyone connected execute arbitrary command on your site is DANGEROUS. If you really need to do this, here is an ex‐
ample:
I don’t know what the person writing the post was using - or whether they simply wrote from memory without testing.
so if a digital nomad is trying to set up an "home"server (not having an home by definition) he is prevented. So no “home"servermusicstreamer - no"home”-own-chat-serverx etc.
One can only make use of a “homed” router in a fixed location!?