[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread Stefan
Ah, I got it figured out.  In previous attempts, the host OS was
Windows 7.  I tried it on XP and it works fine.  Might just be a
firewall issue with Windows 7.

Thanks for your support though.

On Dec 10, 10:15 am, "ma...@mendelu.cz"  wrote:
> On 10 pro, 16:10, "ma...@mendelu.cz"  wrote:
>
> > and when working on um-bc107.mendelu.cz, then localhost:8000 is also
> > forwarded there.
>
> Oops, localhost is not forwarded 
>
> R.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread ma...@mendelu.cz
On 10 pro, 16:10, "ma...@mendelu.cz"  wrote:
> and when working on um-bc107.mendelu.cz, then localhost:8000 is also
> forwarded there.
>

Oops, localhost is not forwarded 

R.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread ma...@mendelu.cz
Do not know how to configure virtualbox, but you should

1. either use IP address of the virtual machine

2. forward packets from port 8001 to the virtual machine, for example
something like this (part of my apache2.conf)

Listen 8000


  RewriteEngine On
  ProxyPass/ http://192.168.86.128:8000/
  ProxyPassReverse / http://192.168.86.128:8000/
  DocumentRoot /

   DefaultType text/html




192.168.86.128 is IP of my virtual machine and I forward port 8000 of
physical machine to Sage in virtual machine.

Thus um-bc107.mendelu.cz:8000 is forwarded to http://192.168.86.128:8000
and when working on um-bc107.mendelu.cz, then localhost:8000 is also
forwarded there.

Robert


On 10 pro, 13:53, Stefan  wrote:
> Hi all,
>
> For the last several days, I've been trying to properly configure port
> forwarding in VirtualBox so that I can have the VM accessible to other
> machines on the network.  After doing research, I came across these
> sets of commands:
>
> VBoxManage.exe setextradata "Sage 4.2.1" "VBoxInternal/Devices/e1000/0/
> LUN#0/Config/http/HostPort" 8001
> VBoxManage.exe setextradata "Sage 4.2.1" "VBoxInternal/Devices/e1000/0/
> LUN#0/Config/http/GuestPort" 8000
> VBoxManage.exe setextradata "Sage 4.2.1" "VBoxInternal/Devices/e1000/0/
> LUN#0/Config/http/Protocol" TCP
>
> (e1000 refers to the virtual Intel adapter that VB uses.)
>
> It's my understanding that I should be able to access the Sage
> Notebook server by viewinghttp://localhost:8001- however, this is
> not the case.
>
> Can anyone provide some insight into this problem?
>
> Thanks!

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org