Turn termux into a webserver in Android (no root) part-1

Опубликовано: 22 Апрель 2026
на канале: Mohammed Sajeed
155
6

Yesterday I did manage to serve my web simple application from my android phone. By following some simple steps you can do it too, it’s ridiculous easy!

First of all I have to say that this experimental is tested and worked only with the Iris web framework, written in Golang and Android version 5.1

$ export GOPATH=/data/data/com.termux/files/home/go
$ go get -u -v github.com/kataras/iris
$ cd /data/data/com.termux/files/home/go/src/github.com/kataras/iris/_examples/hello-world

3. Open your favorite browser and navigate to 
http://localhost:8080.

Social media:
Instagram:5a7e3d