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

<VirtualHost *:8000>
  RewriteEngine On
  ProxyPass    / http://192.168.86.128:8000/
  ProxyPassReverse / http://192.168.86.128:8000/
  DocumentRoot /
        <Location />
           DefaultType text/html
        </Location>
</VirtualHost>


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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to