Skip to content

Title: [Bug] axs reports "Port 8767 already in use" on Node v24.13.0 (Termux) #139

@TurinFohlen

Description

@TurinFohlen

Description:
I am encountering a persistent "Port already in use" error when starting the AcodeX server (axs) in Termux. Standard diagnostic tools confirm the port is actually free.
​Environment:
​Node.js Version: v24.13.0 (Experimental/Current)
​Device: Android (Non-rooted, OPPO/Realme build PEHMOO_11_C.24)
​Kernel Version: 5.4.147-qgki-g49f0f78d20a8
​Termux: Latest (F-Droid)
​AcodeX Server: Installed via official script
​Diagnostic Proof:
Despite the error ERROR axs::terminal: Port is already in use, the following commands return no output:
​lsof -i :8767
​netstat -an | grep 8767
​Steps Taken:
​Ran pkill -f axs (No process found).
​Deleted ~/.acodex and cleared $TMPDIR.
​Verified no other apps (like Proot-distro) are using the port.
​Potential Cause:
The issue might be related to Node.js v24.13.0's handling of socket listeners on Android Kernel 5.4.

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions