Re: [Dancer-users] Unable to view MyApp/bin/app.pl remotely
I'm not sure what Apache has to do with anything. You are currently running Dancer's internal webserver listening on port 3000, not apache. Try hitting http://localhost:3000 in your browser. -Naveed On Sun, May 13, 2012 at 12:29 AM, Jack Maney <jackmaney@gmail.com> wrote:
My primary domain is jackmaney.com
After running the app (MyApp/bin/app.pl) I can view the app locally (in the web server) via the command: "lynx jackmaney.com:3000". The commands "lynx localhost:3000" and "lynx 0.0.0.0:3000" also work.
Trying to bring up "jackmaney.com:3000" in Chrome (on my home computer) brings up Chrome's default 404 page (ie "Oops! Google Chrome could not connect to jackmaney.com:3000", etc). It's not a Chrome issue (IE can't bring up the page, either), so I suspect it's some Apache setting that's preventing requests to jackmaney.com:3000 from being served. I've glanced over some docs related to the Apache config files, but there isn't anything obvious that would disallow the request...then again, I haven't done anything with Apache config files before... Do you know of anything that Apache would do to cause this?
Thank you for your time,
Jack
On Sat, May 12, 2012 at 10:02 PM, Naveed Massjouni <naveedm9@gmail.com> wrote:
On Sat, May 12, 2012 at 9:27 PM, Jack Maney <jackmaney@gmail.com> wrote:
Hi, I'm not new to Perl, but I'm new to Dancer and web development in general. I've installed Dancer on my web server, and used the dancer command-line application to create a sample app. When I start MyApp/bin/app.pl, I can view the resulting page locally (via Lynx), but not on my home system (via Chrome).
Is there some kind of Apache setting that is getting in the way?
Thank you for your time,
Jack
Jack, what is the lynx command you are running and what is the url you are visiting in chrome? -Naveed
-- "Structures are the weapons of the mathematician." --Bourbaki
participants (1)
-
Naveed Massjouni