Kinesis Plain Mock - Connection Refused

I’m having problems running a lambda from a data entered in Kinesis, after entering the data the lambda is started, but I get a timout error, when checking the log, I get the following message:

requests.exceptions.ConnectionError: MyHTTPConnectionPool(host='localhost', port=37883): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fdd34686c20>: Failed to establish a new connection: [Errno 111] Connection refused'))

The port with error changes every run, but it is always the Plain Mock-related port

Below I leave the complete log

https://raw.githubusercontent.com/matheus-arruda/log-share/main/log-localstack-kinesis