Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on RoR app: viewing a running app via IP address in the Shared & Semi-Dedicated forum
Another issue that I've been trying to get an answer to form support. Have a Ruby on Rails application running on port 12002. The app ...

  1. #1
    JPC Member
    Join Date
    Jun 2009
    Posts
    3

    RoR app: viewing a running app via IP address

    Another issue that I've been trying to get an answer to form support.

    Have a Ruby on Rails application running on port 12002. The app was set up through the cpanel.

    How can I view this app from the outside world? In an ideal world, it would be:

    http://my.ip.address : port_number

    However, from the cpanel I understand that you need dns in place before doing a rewrite.

    i.e.
    http://my_domain_name : port_number.

    The first response from support was that I could view this running app from:
    http://my.ip.address/path/to/app/public

    This serves up a static page from the /public directory in the rails app.

    I responded to support that this was happening and was correctly told that I was using the wrong address.

    Indeed. The wrong address suggested by another support guy.

    So, my question. Can a RoR app be viewed from the outside world by IP address? Or not?

  2. #2
    JPC Dream Team
    Join Date
    Mar 2009
    Posts
    925
    Ports are not opened in the firewall in our shared/SDX servers, so you can't access it using the http://ip:12002. You have to setup a redirect rule for your application from cpanel >> Ruby on Rails.
    Anoop
    Support Department
    JaguarPC.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •