Ask Your Question
2

no method available for opening http localhost 8000 (second part)

asked 10 years ago

emiliocba gravatar image

I have exactly the same problem as in this question. It has an answer with two solutions:

  • install a web browser inside the VM,
  • punch port 8000 through to the host and use the host web browser.

I want to use the second option but I cannot understand it. Could somebody explain in detail the second option?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 10 years ago

updated 10 years ago

I suppose this is described in Sect 6.3.1 of https://www.virtualbox.org/manual/Use...

Sage notebook runs a webserver that is to be accessed on port 8000 (and this happens inside VM, on "guest OS"). You need a setting that maps this port to a port X (X need not be equal to 8000) on the "host OS"; then you can access the Sage notebook from the "host OS" by pointing its web browser to http://localhost:X

Preview: (hide)
link

Comments

(Is it 8080 now?)

kcrisman gravatar imagekcrisman ( 10 years ago )

probably - although perhaps the VM Sage image has it differently. One can see the port number if you start sage in terminal and do 'notebook()' at sage prompt. It will tell you which URL to open in browser.

Dima gravatar imageDima ( 10 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 971 times

Last updated: Dec 13 '14