$sam["host"] = "х.х.х.х"; //The IP address of the machine SAM is running on (DO NOT use a local IP address like 127.0.0.1 or 192.x.x.x) $sam["port"] = "1221"; //The port SAM handles HTTP requests on. Usually 1221.