Could not open port COM4 (ESP8266)

You should probably read this, rather than picking pins at random:

Pete.