Using Parallels with Ruby on Rails and Mongrel

Discussion in 'General Questions' started by mattlatmatt, Sep 9, 2008.

  1. mattlatmatt

    mattlatmatt Bit poster

    Messages:
    1
    Hello -

    I am trying to browser test a Rails application in IE6 using Parallels. This means I need to access the locally running Mongrel server that Rails starts on port 3000.

    Any advice on how best to do this? I am using Mac OS 10.5 and using Parallels to launch Windows XP. I realize I cannot access it using "localhost" like I would from the Mac machine; but when I try to access it using the ip address for the Mac machine, it tells me that "the page cannot be displayed". I can see pages from within the Rails app public folder, but not the app itself. As I understand it (which I may not) IE never hits the Mongrel server or can't find it or whatever.

    Any direction on this is greatly appreciated.

    Cheers,
    Matthew
     
  2. Specimen

    Specimen Product Expert

    Messages:
    3,236
    Parallels creates two new network adapters, the virtual ips are in the ranges of those adapters, the Host is 10.37.129.2 if I'm not mistaken, but if you do ifconfig/ipconfig on the guest you'll see what's the gateway address.
     
  3. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    If software is running in Mac OS, you can perform ifconfig -a on Mac
    and use en0, or en3 interface IP
     
  4. Ji SooY

    Ji SooY Bit poster

    Messages:
    1
    Can you elaborate how to do it?
     

Share This Page