-
-
Notifications
You must be signed in to change notification settings - Fork 575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac: Fix server port to validate bookmarks throughout sessions #346
Comments
Working fine for me. Had a student with issue and they were trying to use a port already in use. May or may not be your case, but changing ports works great on my end. |
You are showing the trace, not the final URL displayed on the Chromium browser. After setting the port to "54441": I got the following trace, and the port displayed on the browser was 49618, i.e. a random value shown in the trace: ... The difference may be that you are using the Windows version. I am running the MacOS one. |
On Windows setting fixed port works OK. |
My bad. Totally missed the MAC. Try to do better next time :) |
Currently the server starts with a port that seems to be randomly assigned, for instance "54441" here:
http://127.0.0.1:54441/php/index.php
In settings.json we have this instruction:
"web_server": {
"listen_on": ["127.0.0.1", 0],
etc.
Unexpectedly, replacing "0" with a port number (e.g. "8081") does not set the port at the desired value. (Even clearing the cache and debug.log did not solve the problem.)
It seems that PHP Desktop is setting the port at a value overriding the one given in settings.json.
Having a fixed port number wiil make it possible to keep valid bookmarks throughout sessions of running PHP Desktop.
The text was updated successfully, but these errors were encountered: