2 ms·
If you're hosting behind a NAT device, you can just map external port 80/443 to internal port whatever. You can bind any port 1024 or higher. Termux is only sl
by Denatonium 2mo ago
If you're hosting behind a NAT device, you can just map external port 80/443 to internal port whatever. You can bind any port 1024 or higher.
Termux is only slower without root if you use proot. PRoot provides a limited implementation of chroot that runs unprivileged in userspace, but this also causes it to be pretty slow. If the server software you want to run is available in the Termux repos, you can use that and have it run at full-speed.
Termux works by patching all programs to treat /data/data/com.termux/files/usr as the root directory and /data/data/com.termux/files/home as the home directory. This introduces some compatibility issues, but it doesn't make it any slower.
The Termux project has a great wiki at https://wiki.termux.com/ https://wiki.termux.com/