Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 701247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:35:19+00:00 2026-05-14T03:35:19+00:00

I’m interested in learning some python, and thought Pylons would be a good starting

  • 0

I’m interested in learning some python, and thought Pylons would be a good starting point (after spending 2 days trying to get django working — to no avail).

I have an Amazon EC2 instance with Fedora 8 on it. It is a bare-bones install. I am halfway through my second day of trying to get it to work. I have mod_wsgi installed. I have Apache (though that’s a later task to tackle). I have easy_install, paster is working fine; basically all of the pre-requisites mentioned throughout the Pylons docs.

I can’t for the life of me get the thing to work. And I can’t seem to find a coherent walkthough anywhere that lists all the steps necessary. There is tons of info out there, but it is all scattered. Wsgi this, python that. Google, google, google… “47 million results found for ‘socket.error:(lol, ‘Yous a goofs’)”.

So, this is my latest attempt:

apachectl -k stop

cd /home/

paster create -t pylons test

[blah blah.. ok]

cd test

nano development.ini

[hmm, last time I changed the host from 127.0.0.1 to my domain name or url, it threw an error like socket.error: (99, ‘Cannot assign requested address’)… I’ll just leave it]

[open port 5000 on firewall]

paster serve development.ini

[firefox->url:5000]

Firefox can’t establish a connection to the server


Doing these steps locally works as expected.

This is just a test to see if I can get it to work at all, which I can’t. If I get it to work, then is the task of getting it to work with apache.

My madness is that I’d like to play around a little developing and deploying before diving into a full-fledged project. So far: self, I am dissapoint.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:35:19+00:00Added an answer on May 14, 2026 at 3:35 am
    [server:main]
    use = egg:Paste#http
    host = 0.0.0.0
    port = 5000
    

    If you leave it as 127.0.0.1, you’ll only be able to surf the site from the ECS instance. By putting in the IP of your ECS instance, or 0.0.0.0 which will listen to all available IPs, it should work.

    Unless you have something else listening on port 5000, it should work.

    If you are using the hostname, and the hostname resolves to an IP address on your machine it should work. If you use a URL, paster won’t be able to resolve the domain name properly. I’m guessing that when you used the domain name, it didn’t properly resolve it which generated the error you received. 0.0.0.0 or the IP address in that case should fix it.

    I’m not 100% sure whether you used a virtualenv for your pylons installation, but, it is generally a good idea since you don’t need to alter the server’s environment to install new libraries.

    http://pylonshq.com/docs/en/1.0/gettingstarted/#installing

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 373k
  • Answers 373k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Make three height:100% divs (col1, col2, col3) that reach from… May 14, 2026 at 7:38 pm
  • Editorial Team
    Editorial Team added an answer Two controls to look into: 1. Expander (this could work,… May 14, 2026 at 7:38 pm
  • Editorial Team
    Editorial Team added an answer I would not go the route of instantiating 45 forms… May 14, 2026 at 7:38 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.