Device is showing offline, doesn't matter changing port, ESP32 board or code

[Unformatted code removed by moderator]

I am using ESP32-WROOM-DA. Please let me know what can I do in this. Some are asking to change the IO port to 32. But I am not aware how to do that.

@Ashupurani Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Copy and paste these if you can’t find the correct symbol on your keyboard.

Pete.