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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:08:06+00:00 2026-06-04T14:08:06+00:00

Develop a Rails app on your Mac. Have a virtual Windows box using Parallels

  • 0
  1. Develop a Rails app on your Mac.
  2. Have a virtual Windows box using Parallels (on the same computer).
  3. Want to test it in IE…
  4. …without deploying it to staging
  5. …or attempting to run your Rails environment within Windows

Is there any way to conveniently access port 3000 on my Mac from within Windows?

  • 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-06-04T14:08:08+00:00Added an answer on June 4, 2026 at 2:08 pm

    This should be pretty straight forward (for non-subdomained Rails apps). It definitely gets more complicated with subdomains.

    Non-Subdomained App

    1. From your Mac terminal:

      ifconfig -a

    2. Copy the assigned IP address (e.g., 192.168.1.100)

    3. Switch to Parallels, open IE and enter the IP address in the address bar. Don’t forget to add the protocol and port number of the running Rails app. For example:

      http://192.168.1.100:3000

    4. Voilà! Rails app.

    Subdomained App

    You should probably already be using something like lvh.me to ease the burden of creating subdomained applications locally (see ASCIICasts 221: Subdomains in Rails 3). It doesn’t seem to be so straight-forward on Windows though.

    1. Edit the Windows hosts file. It should be located somewhere like C:\WINDOWS\system32\drivers\etc\hosts

    2. Assuming your IP address is the same as above, add a line that looks similar to this, and save:

      192.168.1.100 lvh.me sub1.lvh.me sub2.lvh.me ... subN.lvh.me

      Where sub1, sub2, …, subN are the subdomains that you want to access from IE.

    You should now be able to access http://sub1.lvh.me:3000 from IE.

    A Final Note

    I was getting pretty tired of looking up my DHCP allocated IP address every time, so I created a new Network location in OS X called Home that uses DHCP with a manually assigned IP address. That way, I can at least save some time when I’m working from home. Just remember to switch locations when you join a different network. YMMV 🙂

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

Sidebar

Related Questions

I'm using webrick to develop my rails app on Mac OS X Lion. I'm
For a Rails 3.1 app, I want to develop locally using SQLite and deploy
I am going to develop a Rails app pretty soon. Currently I have nothing
I'm using Ruby on Rails to develop a web application. I have a wiki
I am using Netbeans to develop a Ruby on Rails application. Unfortunately, I have
I'm starting to develop applications using rails, I am designer turning developer. I have
I have some production Rails 2 apps. I want to start using Rails 3
says if i develop a Ruby on Rails application using Rails 2.3.2, will that
I develop rails in ubuntu and i just set up a virtualbox windows xp
I develop Rails based website, enjoying using partials for some common components Recently, i

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.