you need to do some port forwarding to open the connection for others. You do that by typing in your local ip in google which usually is 192.168.0.1 (or smt similar)
Log in, go to gateway, basically there where you have ports, by me its gateway, and select port forwarding or ports. Then basically the Ip address start port end port need to be the same as in your server files.