The IP in the script should be 0.0.0.0, this means it will listen on all network adapters.
In the Mind Monitor app, you need to set your computers local IP address as the "OSC Target IP". Make sure there are no typo's in the IP. I once heard of an issue where someone had a space after the IP which stopped it working.