Trouble getting my tasmota to connect to my mosquitto mqtt broker

Still, I can’t believe Windows would use a 172.17.x.x address. You will need to sort that out.

I just think they are the ip range that the IT department has set for that vlan.

Ok, you are using VLAN’s. What IP does the Tasmota device have ?

Sorry about the late reply, so I realised it was my work PC that was blocking something on the network. I set it all up again on a laptop with just a wifi connection and it started working.