Recent Discussions

Windows Homehosting: getsockopt: connection refused

Open in Discord
Unanswered
Tyrolean Hound posted this in #questions
132 messages
0 views
Tyrolean HoundOP
After using a proxy that points to my server I stopped using it as it was decided that it would only be played on by myself and friends. I removed the windows firewall rules related to the proxy and now none of my friends can connect getting the above mentioned error. I have tried the following not in order:
* Redoing port-forwarding on my router (my PC is also set to have a static local IP)
* Explicitly allowing connections to port 25565 in the windows defender firewall and allowing javaw on both private and public networks
* using port checker while the server is running (says port 25565 is closed)
* netstat says my machine is listening on port 25565
* disabling and reenabling firewall rules
* connecting on my local machine works. I don't have any other PCs on the LAN to test.
* using the Test-NetConnection powershell command on another computer says it can ping but TCP connection fails
* Trying to find any other possibly related, possibly forgotten about firewall rules, there are none.
* Right now I have inbound rules to allow local port 25565 TCP/UDP and outbound rules to the same config
* restarting the server and PC (duh)
* checking [server.properties](http://server.properties) file for invalid config settings, there is no IP set and the port is still set to 25565
* ipconfig /release, /flushdns, /renew
* disabling Hyper-V and disabling unnecessary network adapters including WiFi, leaving just my ethernet adapter
* testing with multiple friends, they all get the same error
I would greatly appreciate some help as I am at a loss. From what I can gather it seems to be a local issue and not with my router, but idk. Thanks for your time!
Do you have another computer on the local network? If so, please use that to attempt to connect to the server using your server's internal/local IP. This will tell us if the issue is a firewall issue on your computer or some issue on your router.
Tyrolean HoundOP
I can't install Minecraft on that machine. It is not mine. I would've tried that if I could.
I guess I shouldn't have saud I have another machine
@PM_ME_YOUR_REPO Do you have an android phone?
Tyrolean HoundOP
yes
sec
Minecraft Java edition on Android.
Doesn't run GREAT, but it runs.
And you can go on Wifi and use it to test local IP.
Tyrolean HoundOP
Neat! I'll try that out right now. Thank you.
@PM_ME_YOUR_REPO And you can go on Wifi and use it to test local IP.
Tyrolean HoundOP
The connection timed out when I used the LAN IP address
@Tyrolean Hound The connection timed out when I used the LAN IP address
and just make sure there's no issue with pojav by connecting to hypixel.net or something.
Tyrolean HoundOP
will do
@PM_ME_YOUR_REPO and just make sure there's no issue with pojav by connecting to hypixel.net or something.
Tyrolean HoundOP
I can connect to hypixel just fine
@Tyrolean Hound I can connect to hypixel just fine
Okay. That's some important troubleshooting. We now know that the issue is with the firewall on the host computer.
Try turning off Windows Firewall entirely. I am quite sure all connections will work afterwards.
Loading...