I have a client-server application, which runs in a LAN.
Every time a device connects to this LAN, it should send some data to the server within the LAN, but the device doesn't know the IP address of the server.
Is it possible to solve this with port forwarding?
EDIT:
The devices are android devices, they collect some data in the background and then send it to the server application, which is a java application, and it consumes the data.
As I said, I'm pretty new to networking, and I found some stuff about port forwarding, but it didn't seem to help me. This is why I asked you guys.
Could you explain please this simple name resolution?
Thanks