MQTT doesn't like static IP address

Have you updated the WAP DHCP address range to exclude 192.168.1.2 from the address pool? If not then you may have two devices with the .2 address.

I don't know how configurable your WAP is, but my own setup uses DHCP for everything with static IP/MAC assignments setup in the WAP. This allows you to manage all IP/MAC address combinations in one place rather than having a mix of DHCP and non-DHCP assignments.