Giter VIP home page Giter VIP logo

Comments (6)

danielozano avatar danielozano commented on May 30, 2024

Hi @ihor-sviziev I think there is no specific reason for using this port, but maybe @jalogut can confirm that!

If you try the 9000 port and find no issues at all please tell us and we could change it as default! Of this way you won't need to update it in phpstorm settings.

from magento2-dockergento.

jalogut avatar jalogut commented on May 30, 2024

Hi @ihor-sviziev well actually there is a reason for that. Our php images use port 9000 for FastCGI connections.

See line 36 here: https://github.com/ModestCoders/dockerfiles/blob/master/php/7.2-fpm/conf/www.conf

from magento2-dockergento.

ihor-sviziev avatar ihor-sviziev commented on May 30, 2024

I think it's not a big deal and not really related.

  1. It listens 9000 port on php-fpm container and not forwarded to host machine
  2. nginx actually working with php fpm using unix socket, I guess using 9000 port there could be safely removed
    https://github.com/ModestCoders/dockerfiles/blob/master/nginx/1.13/conf/default.conf#L2

from magento2-dockergento.

ihor-sviziev avatar ihor-sviziev commented on May 30, 2024

Any updates?
@danielozano @jalogut

from magento2-dockergento.

danielozano avatar danielozano commented on May 30, 2024

Hi @ihor-sviziev If phpstorm uses port 9000 by default, and we don't need to use it for fastcgi because nginx is already using unix socket I don't see any reason to move XDebug to port 9001.

I'll work on it! Thanks!

from magento2-dockergento.

ihor-sviziev avatar ihor-sviziev commented on May 30, 2024

Basically in xdebug 3 there was changed default port to 9003, it will be switched to this new port in ModestCoders/dockerfiles#21 and #83.
I'm closing this issue as not relevant anymore.

from magento2-dockergento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.