Skip to content

Help connecting clients to server over internet #4

Description

@abrararies

Hey,
I'm trying to make your example work with two or more devices connected over the internet.

For example:
A server is running on 127.0.0.1:17000 (Public IP: 39.283.143.3) and clients running on different IPs and ports. How do I get them to communicate using udp?

So far it is only working when both server and client are on the same network. Even then I had to change the server address to 0.0.0.0:17000 and tell the client to connect using the private IP (192.168.0.100) to get it to work.

The end goal here is to get Unity3D game (clients) to send data (packets) to a server using UDP. If you have any thoughts or any other solution (doesn't have to be open source) please share because I've tried many different things (libs) but haven't had any luck. :(

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions