Webware for Python + Apache 2 on CentOS… Inside a VM

This post is a codicil to these instructions when attempting to replicate the described setup in a VM, specifically in VMware Fusion on OS X.

Following standard operating procedure results in:
Error: Can not listen for Adapter on (‘localhost’, 8086)

Make sure to disable or otherwise adjust SELinux and firewall settings to allow connections on port 80 and 8086.

Inside the WebKit-related <Location > directive of the Apache configuration file, use “127.0.0.1” instead of “localhost”.

Inside your WebKit working directory, find the Configs directory, and edit AppServer.config. Change the line:
Host = “localhost”
… to…
Host = “”
… for listening on all interfaces, as the file describes.

Bounce both servers; experience victory.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s