The problem is within your code you haven't mentioned the mode for wifi before initiating.
WiFi.softAP("ESP");
use this instead:
WiFi.mode(WIFI_AP); WiFi.softAP("ESP", "password123");