M
M
MrChen2021-01-18 14:15:37
PHP
MrChen, 2021-01-18 14:15:37

Why doesn't Xdebug on a remote server connect to PHPStorm?

Hello! The remote server is running php 7.4 + xdebug. xdebug settings:

zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.show_error_trace=1
xdebug.remote_handler="dbgp"
xdebug.idekey="PHPSTORM"
xdebug.remote_mode=req
xdebug.trace_format=1
xdebug.trace_output_dir=/var/www/xdebug/log
xdebug.extended_info=1
xdebug.remote_autostart=1
xdebug.remote_log=/var/www/xdebug/log/access.log


When I try to execute a debug script, the following appears in the xdebug logs:

[452476] Log opened at 2021-01-18 11:14:07
[452476] I: Connecting to configured address/port: 5.16.114.47:9000.
[452476] E: Time-out connecting to client (Waited: 200 ms). :-(
[452476] Log closed at 2021-01-18 11:14:07


Tell me why this can be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question