Why Webserver not works in AP mode on ESP8266?

Why WebServer not works in AP mode? I configured and started wifi in Soft AP mode, but ESP8266WebServer not works. Instead, at default mode as WiFi.begin(); without other custom wifi configuration webserver works fine :\

I tried to configure softAP parameters in setup() section, not at global initialization.

#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>

MDNSResponder mdns;
ESP8266WebServer proxy(80);


char *ssid = "++++++++++++++";
char *password = "--------------";

void setup()
{
    IPAddress local_ip(10,0,7,10);
    IPAddress gateway(10,0,7,10);
    IPAddress subnet(255,255,255,0);
    WiFi.mode(WIFI_AP);
    WiFi.softAPConfig(local_ip, gateway, subnet);
    WiFi.begin(ssid, password);
    //WiFi.softAP(ssid, password, 1, false, 5);
    mdns.begin("esp8266", WiFi.softAPIP());
    proxy.begin();
}

void loop()
{
    proxy.handleClient();
}

There's my problem:

who knows how to avoid this bug?

Try here

did you connect your computer's WiFi to the SoftAP?

Juraj:
did you connect your computer's WiFi to the SoftAP?

yep, I think it's an android problem.. I have not got wifi on my pc.

sorry, i'm idiot )) I was able to fix my own problem :o :confused: