-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Summary
Hello,
I'm running Matlab 2025b on an Ubuntu 20.20 system, connecting to it from Safari on a Mac.
The URL that's printed to the terminal looks something like
http://localhost:8000/matlab?mwi-auth-token=SdLCi56uNeRxO07hReW8S_Jl9-gkhqwV_D3RWeEcHAM
This could be more useful, since I have to copy this URL into Safari, replace "localhost" with my actual host name, and then use Matlab via the proxy.
I've tried to add the following to a Python script I'm using to launch Matlab:
os.environ["MWI_APP_HOST"] = socket.gethostname()
This prints what looks like a correct URL to the terminal, something like
http://[my_ubuntu_host_name]:8000/matlab?mwi-auth-token=SdLCi56uNeRxO07hReW8S_Jl9-gkhqwV_D3RWeEcHAM
But the link doesn't work. Instead Safari gives me an error saying it can't connect to the server.
Any idea what's going on here? The manual editing of the URL always works, but the environment variable doesn't.
Browser(s) used
Safari
Script output
No response