I am at my wits end over this issue.
I have a rails app up and running using WEBrick on localhost:3000 from
my mac, everything is fine.
I would like to test my app in IE, so i am running parallels. To access
localhost from IE on the virtual machine, i use MYCOMPUTERNAME.local in
the address bar of IE. This serves up the "it works!" page no problem.
However, when i specify port 3000, i keep getting "internet explorer
cannot display webpage".
MYCOMPUTERNAME.local:3000
I have also tried using the information i get from the command window on
my virtual machine after doing ipconfig.
IPv4 address - 10.211.55.3
Default gateway - 10.211.55.1
If i use 10.211.55.2 i get the "it works!" page, if i add :3000 i get
nothing.
This is driving me crazy, any help would be greatly appreciated.
Thanks,
Bobby
--
Posted via http://www.ruby-forum.com/.
I already had "http://" in the URL. I just double checked again and
still no joy?
On 21 Mar 2011, at 08:59, Robert Will <li...@ruby-forum.com> wrote:
> Hey Sebastian,
>
> I already had "http://" in the URL. I just double checked again and
> still no joy?
>
It depends on how exactly parallels does its virtual networking stuff, but you might want to check that your app isn't just bound to localhost and that you haven't got any firewall shenanigans going on
Fred
> Thanks,
>
> Bobby
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>
+1
I'm not familiar with Parallels, but Virtualbox has similar issues.
When I set up a new VM, I need to ensure the networking is set to
"bridged" rather than "NAT". If it's on NAT, the VM can get out, but
nothing can get in.