Skip to content
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

Port 5000 busy on Mac #291

Closed
lauracaune opened this issue Apr 8, 2022 · 2 comments
Closed

Port 5000 busy on Mac #291

lauracaune opened this issue Apr 8, 2022 · 2 comments

Comments

@lauracaune
Copy link

I am working from a Mac and was trying to run the docker image for qvm. The qvm docker image opens port 5000 , which is then mapped to port 5000 by default. However on a Mac port 5000 is already in use by Airplay. Currently there is no way in the provider to change the port on the host machine as it is hard coded to port 5000 in qcs_api_client/client/_configuration/settings.py . Can you look into this and perhaps make it more flexible?

@nilslice
Copy link

nilslice commented Apr 8, 2022

@lauracaune - this should be more flexible, and I'll take a note back to the team to see where this falls in priorities. For the time being, on macos, you can work around this by disabling the Airplay listener in System Preferences > Sharing and toggling Airplay Receiver off:
image

Once you disable it, the port should be immediately available.

@stylewarning
Copy link
Member

To add, the QVM itself can have the port changed with the -p or --port option at the command line. But it may not be configurable from pyQuil. I'd advise filing an issue in that project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants