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

  • Home
  • SEARCH
  • 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 5999085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:30:07+00:00 2026-05-23T00:30:07+00:00

I have been trying to set-up an Ajax Push Engine (APE) Server in a

  • 0

I have been trying to set-up an Ajax Push Engine (APE) Server in a virtual machine, and have run into a bit of a snag. The problem is that the APE server cannot be accessed outside of the virtual machine.

Setup:

  • Guest OS: Ubuntu 10.10 (I believe) with the ape package installed
    • IP Address: 192.168.56.1 using a host-only network adapter
    • APE Server running on port 6969

If I try wget 127.0.0.1:6969 in the virtual machine, I get a response.

If I try wget 192.168.56.1:6969 from the host OS, I get a Connection Refused message.

If I ping 192.168.56.1, I also get a response.

Any help would be greatly appreciated!

  • 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-23T00:30:08+00:00Added an answer on May 23, 2026 at 12:30 am

    I ended up redoing everything from scratch, and it worked, so I must have got it right somehow. For the benefit of others…

    To get APE Server running in a virtual machine (in particular, using VirtualBox), you need to do the following:

    Setting up the environment

    • Download and install VirtualBox
    • Open VirtualBox, and go to File > Preferences, then Network
      • Confirm that there exists a host-only network vboxnet0 (if not, create it). Take note of its IPv4 address (192.168.56.1, in my case)
    • Create a new Ubuntu Virtual Machine
    • Start the Virtual Machine

    Getting the Libraries

    • Add the PPA for libmysqlclient15off, a pre-requisite for APE Server:

      username# gpg --keyserver  hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
      username# gpg -a --export CD2EFD2A | apt-key add -
      sudo sh -c 'echo "deb http://repo.percona.com/apt maverick main" >> /etc/apt/sources.list.d/percona.list'
      
    • Install libmysqlclient15off

      sudo apt-get update; sudo apt-get install libmysqlclient15off
      
    • Get and install the latest version of APE server

    • Edit /etc/network/interfaces, and add the following to the end:

      auto eth0
      iface eth0 inet static
          address 192.168.56.101
          netmask 255.255.255.0
      
    • Close the virtual machine and go into its settings. Change the network settings for the first interface to Host-only Adapter

    Setting Up APE

    • Restart the Virtual Machine, and ensure that the APE daemon is running

      username# ps -ef | grep "aped"
      
    • If you need to, make changes to /etc/ape/ape.conf

    Final Steps

    • Add the following to your hosts file, or some variation:

      192.168.56.101            local.site.com
      192.168.56.101            0.local.site.com
      192.168.56.101            1.local.site.com
      192.168.56.101            2.local.site.com
      192.168.56.101            3.local.site.com
      192.168.56.101            4.local.site.com
      192.168.56.101            5.local.site.com
      192.168.56.101            6.local.site.com
      192.168.56.101            7.local.site.com
      192.168.56.101            8.local.site.com
      192.168.56.101            9.local.site.com
      
    • Access your new APE server via local.site.com:6969

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

Sidebar

Related Questions

I have been trying to set up Spring 3 annotation-based validation, guided by http://static.springsource.org/spring/docs/3.0.0.RC3/spring-framework-reference/html/ch05s07.html
I have been trying to set up a back up on Symantec Back Up
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have been trying to find a really fast way to parse yyyy-mm-dd [hh:mm:ss]
I have been trying to determine a best case solution for registering a COM
I have been trying to work my way through Project Euler, and have noticed
I have been trying to get around this error for a day now and
I have been trying to explain the difference between switch statements and pattern matching(F#)
I have been trying to read a picture saved in Access DB as a
I have been trying to learn multi-threaded programming in C# and I am confused

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.