Mqtt not connecting to broker ip

Note: It is always better to copy what is on your screen and pasting it to a reply. This avoids people having a hard time seeing what you post

  1. what OS are you running on your pi-4?
  2. what version of mosquito did you install?

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json