I have installed MH 2.2 installed on a Windows based PC (Win7). I have run the canned webpage using localhost:8080 . I have created my own web page to control the stereo and added html_file = xx/index.shtml to mh.private.ini. Success. I have run the webpage based on the current PC's IP address:8080 (httpx.x.x.x.:8080 Server's IP address). Success. I can control my stereo. I tried opening the webpage from another computer INSIDE my network. This is where I am having problems. I open the IP address:8080 from a remote computer. It pauses for 11-13 seconds. The background without pictures finally comes up. Misterhome restarts about 5 times. If I right click on the X'd out images and selected 'show image', it does come up. The error from MH says: "Bad address family for Socket::unpack_sockaddr_in, got 0, should be 2 at c:\mh\mh\bin/../lib/http_server.pl line 134. accidental exit on mh, restarting ...
I looked at lines 119-138 on http_server.pl and I'm not sure how I'm supposed to fix this. The variable $peer is 0, but should be 2?
I tried searching for solutions to this (unpack_sockaddr_in, bad socket address, etc), but couldn't find a solution.
Any suggestions or answers?
Thanks for your help.
Get latest updates about Open Source Projects, Conferences and News.