MAMP and Rails server in the same time

57 views
Skip to first unread message

Picsoung

unread,
Feb 9, 2012, 1:24:33 PM2/9/12
to pagekite-discuss
Hello all :)
I would like to thank the PageKite community for developping this
really nice tool !

Today I have a question and I did not find a way to solve it

Problem :
a rails server on localhost:3000
a PHP server on localhost:8888/openx using MAMP

The special thing is the rails server access to the PHP server (XMLRPC
API communication)

What I've tried
pagekite.py 3000 myserver.pagekite.me (works to have rails server
running)
pagekite.py 8888 sub.myserver.pagekite.me not working to get access
to /openx folder


I read the thing about XAMPP but did not really understood it well.

Any help is welcome :)
Thanks

Bjarni Rúnar Einarsson

unread,
Feb 10, 2012, 7:32:19 AM2/10/12
to pagekite...@googlegroups.com
On Thu, Feb 9, 2012 at 6:24 PM, Picsoung <nicolas...@gmail.com> wrote:
> Hello all :)
> I would like to thank the PageKite community for developping this
> really nice tool !

You're welcome, we are glad you like it!

> a rails server on localhost:3000
> a PHP server on localhost:8888/openx using MAMP

...


> pagekite.py 3000 myserver.pagekite.me (works to have rails server
> running)
> pagekite.py 8888 sub.myserver.pagekite.me not working to get access
> to /openx folder

When you say "not working", what exactly do you mean?

What do you see when you visit http://sub.myserver.pagekite.me/ ? My
first guess is that it is an Apache configuration issue (you may need
to teach it to accept the name sub.myserver.pagekite.me as a
VirtualHost), but it's hard to be sure without more info.

--
Bjarni R. Einarsson
Founder, lead developer of PageKite.

Make localhost servers visible to the world: https://pagekite.net/

Reply all
Reply to author
Forward
0 new messages