I have two routers in my house, and i want my esp32 to be able to connect to both (not at the same time) but i realise that esp32 cannot connect to one of them for any reason. I have tested a code for wifi connection tests and it works in the other one.
The only thing i didnt check is the router configuration, is there any config that can lead to this behaviour?
Did you check if the range is just to high or maybe if there are too many different wireless communications (WLAN+Bluetooth or similar), which interfere?
posting your code would help a lot
You can post code by using this method that adds the code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps
press Ctrl-T for autoformatting your code
do a rightclick with the mouse and choose "copy for forum"