I have a simple HTTP server implemented on Node, though I have tried to do the same thing with other languages and could not figure out how to.
I can pick some port on
For your local network, jump on the host computer and open your terminal. For windows, type
ipconfig or for Unix, type
ifconfig. Identify your computers IP here. You'll be able to connect from your phone now using this IP.
For anyone to connect, you need to port forward your router to the IP you just found. How to do this varies on the router model, you might need to Google for your specific router.