problem solved
What’s your DHCP server?
Can you set up a static lease for the module you’re working on? (that way the client’s address never changes)
Which direction are you trying to connect? (client->server or server->client)
What server software are you using?
What firewall software are you using? Or, what firewall hardware?
Without more information it’s impossible to tell what’s going on.
adsasdasd
dasdasdasd