Skip to main content
Visitor
June 10, 2026
Question

Client not connected to TCP server.

  • June 10, 2026
  • 0 replies
  • 6 views

I am using an STM32 Nucleo-F746ZG board and trying to establish a TCP/IP connection between the board and my laptop. The laptop is configured as the TCP server using Hercules tool, while the STM32 board acts as the TCP client.
 

I have configured static IP addresses, and I am able to successfully ping the STM32 board from my laptop, which confirms basic network connectivity.
 

However, when I start the TCP server on the laptop using Hercules, the STM32 client is unable to establish a connection to the server.

I attach code and .ioc configuration for reference.