For example, I have a laptop with the server script running on it.
Now, I have a client script, that instead of connecting to the laptop using its local IP, will connect to the router and everything will work just fine.
I wonder if this even is possible, and, if it is, then how would I implement it?
Edit:
This topic does not answer my question, since I don't need to connect from outside the localhost, only the devices inside should connect and communicate with the server.