I’ve recently embarked on the resurrection of my mythtv project that had been reclaimed for other uses. This time around I’m using Fedora Core 4 and Jarod’s still very authoritative tutorial, which got me completely up and running. However, when I tried to run mythweb I kept getting this error:
Warning at /var/www/html/mythweb/includes/mythbackend.php, line 102: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:6543 (Permission denied)
After digging around a little bit I figured out that this occurs when you have SELinux installed – which prevents the opening of a socket to the backend from mythweb. To fix this I simply followed these instructions, which say to set the following config value in ”/etc/selinux/config”:
SELINUX=disabled
After a reboot, all is well.

fsockopen() [function.fsockopen]: unable to connect
what to do if it happends in windows
what to do if it happens in windows