Wifi.SoftAP does not respond at server.on(...)

Hello,
try to create a Soft-AccessPoint on ESP8266-01.
Did on two ways (as I could find them in several places…):

Option1:
Started the Client by let him connect to my Router.
Then write in browser the ESP’s IP and get the expected answer.
Perfect.
(see attached monitoring)

Option2:
Started an AccessPoint.
Took mobile to connect to the ESP’s Wifi Network. >> worked.
One could see connection count increase in monitor.
Then write in browser the ESP’s Standard AP-IP (192.168.4.1) but
nothing happens.

The attached code has the two optional parts to connect
to or create a network.

Does someone has a hint for me?
Thanks!
A.

Monitor_AP.jpg

Monitor_Client.jpg

WebServer2a.ino (2.23 KB)

OK, added IPAddress ip(192,168,0,200); IPAddress gateway(192,168,0,200); IPAddress subnet(255,255,255,0);

WiFi.softAPConfig(ip,gateway,subnet);

Then I get the expected response when using a windows client. Does not work with my mobile .... :-( A.