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

Can't connect magento container(Remote Host) in PHPSTORM #1048

Open
duddehub opened this issue Jan 23, 2024 · 1 comment
Open

Can't connect magento container(Remote Host) in PHPSTORM #1048

duddehub opened this issue Jan 23, 2024 · 1 comment

Comments

@duddehub
Copy link

Fresh installation - can't connect to the Remote Host.
I already followed the module documentation - "Copy compose.dev-ssh.yaml to compose.dev.yaml before installing Magento to take advantage of this setup. Then, create an SFTP connection at Preferences -> Build, Execution, Deployment -> Deployment. Connect to localhost and use app for the username & password." but without results. Somebody knows how to connect?

@sdouma
Copy link

sdouma commented May 4, 2024

I know this is 4 months later but see my ticket #1148
Try this,

  • Copy this DockerFile
  • In PHPSTORM open the file and at the top you should see a run button.
  • Click the run button and a dropdown button should appear, click edit and name/tag it
  • Click the run button and in the dropdown click run
  • After building it go to compose.dev.yaml and edit the image to your newly built image using the tag

I.E

    image: temp-ssh-image:latest
    ports:
      - "22:22"
    volumes: *appvolumes

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

No branches or pull requests

3 participants