First time here? Check out the FAQ!

Ask Your Question
0

notebook: localhost 8080 vs 8000

asked 11 years ago

TumericTJ gravatar image

I used Sage v. 5.0 for the first time in a while and couldn't connect to the notebook. I received the message: Firefox can't establish a connection to the server at localhost:8000.

I was still able to use Sage from the command line, but decided to install v. 5.11 to see if that would fix my problem.
In fact, it did; and now the notebook opens at localhost:8080.

Does anyone know the reason for this?

Preview: (hide)

Comments

This was just a change decided on with one of the notebook upgrades, it's not a bug. I'm not really sure about the rationale, though I think that 8000 was more popular so it was better to use 8080.

kcrisman gravatar imagekcrisman ( 11 years ago )

2 Answers

Sort by » oldest newest most voted
1

answered 11 years ago

tmonteil gravatar image

updated 11 years ago

8000 or 8080 are arbitrary default choices. This default choice changed when the notebook became flask-based (see this ticket). You can specify the port you want as follows:

from Sage command line:

notebook(port=8888)

or from a shell:

sage -notebook port=8888
Preview: (hide)
link
0

answered 11 years ago

ppurka gravatar image

IIRC, the default port was changed in keeping with the official/unofficial suggestions for port numbers. See Wikipedia :)

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 1,719 times

Last updated: Sep 07 '13