So the server would need to be running on your computer and your ports would have to be open as well. You can port forward in your router settings, but the easiest way is just configuring windows firewall. Just check your client/server for what port you should be on and then add the port to your inbound rules in Windows Firewall Advanced Settings