Help needed for ipcamera binding

Hello,
I need some help for my esp32 cam.

I am using this modul https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/03/ESP32-CAM-pinout-new.png?quality=100&strip=all&ssl=1

and I can access the stream by using this link http://ipaddress/stream

this is my configuration

Thing ipcamera:generic:Esp32Cam
[
    ipAddress="ipaddress", serverPort=54322,
    gifPreroll=1,
    snapshotUrl="http://ipaddress/capture",
    mjpegUrl="http://ipaddress/stream",
    ffmpegInputOptions="-f mjpeg",
    ffmpegOutput="/tmp/Esp32Camera/", ffmpegInput="http://ipaddress/stream"
]

But I always get this error:

Thing 'ipcamera:generic:Esp32Cam' changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Connection Timeout: Check your IP and PORT are correct and the camera can be reached.

how can I check what is wrong exactly??