Comments (6)
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.
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.
I think it's not a big deal and not really related.
- It listens 9000 port on php-fpm container and not forwarded to host machine
- 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.
Any updates?
@danielozano @jalogut
from magento2-dockergento.
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.
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)
- Feature request: add support for Magento 2 EE HOT 3
- Feature request: Add container for cron jobs HOT 1
- Mailhog Setup HOT 2
- modestcoders/node-php:node8-php7.3 is not avalible HOT 4
- how to set it as production HOT 2
- PHP 7.4 Support HOT 3
- SQLSTATE[HY000] [2002] No such file or directory HOT 1
- Path cannot be mirrored HOT 1
- Multiple database HOT 1
- Composer github oauth
- sample data install fails / composer error php 7.2 magento v 2.3.2 HOT 2
- Can't copy project files into host HOT 1
- Grunt compilation failure
- FEATURE: Mage2run HOT 3
- PHP 8 version
- Apple silicon m1
- More detailed docs?
- nginx version
- permission issues
- Magento 2.4.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-dockergento.