MKR1010 and "localhost" conflict

Hi,
I've been attempting to connect my MKR1010 via a WiFi connection to either a TCP Server or MQTT broker without success. I suspect that this is an IP addressing using.
I read somewhere that "LOCALHOST" in a sketch would refer to the MKR board's local host as does 127.0.0.1. Is so how does one determine the IP address of the TCP or MQTT server running on my MacBook?
There seems to be much confusion here or is it my lack on networking expertise? Have spent many years in tech avoiding networking.
Cheers
NIck

To determine the ip address of your Mac, type ifconfig at a terminal window. Look for entry en0. Also if you have a plan scanner you should find it.
The TCP and MQTT servers are different ports on the same IP. Perhaps if you posted all your code in code tags and any error logs also in code tags we could help more.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.