Hi, this isn’t really a java question as such, but since the program I made is written in java I thought someone here would know how to help…
I’m having problems hosting a server on my computer – I’ve made a ServerSocket and made it bind to my ip address, but since I’m on a router, I think it’s binding to my local IP address instead of my router’s IP, so it won’t work over the internet.
I’ve heard I can forward ports from my router to my computer so that this will work, but I tried changing the NAT settings on my router so that the appropriate port was forwarded to my computer, but it doesn’t seem to work.
Does anyone know how I can fix this problem? I assume the answer would be more to do with my router than my code though.