-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sending packets to anything else than a local adress doesn't work #301
Comments
What IP address are you binding the server on? You should probably bind it on |
Disregard my previous comment, I actually ran into the same issue and the solution was to instead of using bind_any() on the client to bind on |
I just ran into the same issue, I was binding the client on Changing that makes it work as expected. |
Thank you! This was also my issue, and they don't explain this in the method of |
I was scratching my head because my client and server worked just fine locally.
It also worked just fine on my vps to run both client and server at the same time.
But as I was trying to connect my computer to my vps(client to server), no connection was ever established.
So I downloaded wireshark to investigate and what I found was that only packets going to a local address, (starting with 127)
Was ever sent.
As a test I was sending a packet to localhost, and then the address of google.com.
the println!() both print Ok(())
The only outgoing packets appearing in wireshark filtering with udp, is the packet sent to localhost.
I'm using laminar 0.5
The text was updated successfully, but these errors were encountered: