ESP8266WiFi.h change IP

I found it.
When I got connected to router, DHCP defines my IP.So I changed my IP to out of router IP ranges to 192.168.10.1 and everything went well.