Problem with Arduino Nano+ESP-01 finding IP Address

I haven’t loaded your code onto a device but most times with this problem, the solution is as simple as changing the baud rate in the serial output. I would start there, trying the different rates and see if the serial output starts printing correctly.