ESPHome - bin code

Hi

I’m not getting ahead in ESPHome when I upload it to generate the bin file I have received an error:
ERROR Connecting to 192.168.0.133:8266 failed: [Errno 111] Connection refused

my code looks like this:

esphome:
  name: ter
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: "xxx"
  password: "xxx"
  use_address: 192.168.xxx.xxx
  manual_ip:
    static_ip: 192.168.xxx.xxx
    gateway: 192.168.xxx.xxx
    subnet: 255.255.255.0
    dns1: 192.168.xxx.xxx 
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "mynet"
    password: "mar277601"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

Has anyone come across this?

favor Ingles aqui :wink:

Yes, someone has:

Try connecting your ESPHome device locally on USB port of RPI, you should get device option in drop down besides OTA. Wifi config OTA kept giving me error 111 message.