R
R
Roman2017-03-19 18:28:12
PHP
Roman, 2017-03-19 18:28:12

IDEA is installed on the Debian machine, the machine is on the same network as the server. IDEA does not see xdebug. How to fix?

Good afternoon!
From work I can join the server at home. All OK. xdebug works like clockwork.
Doesn't work from home.
Gives
waiting for incoming connection with ide key
out Settings in the Environments at home and at work are the same.
server settings
uname -a

Linux HomeMiniServer 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

nano /etc/php5/apache2/php.ini
...
zend_extension=xdebug.so
xdebug.remote_host=92.121.61.47
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.idekey=HomeMiniServerKey
xdebug.remote_port=9009
xdebug.remote_handler=dbgp
xdebug.remote_autostart=1

xdebug.profiler_enable=1;
xdebug.profiler_output_dir="/var/www/profiler"
xdebug.profiler_enable_trigger=1

nano /etc/php5/conf.d/20-xdebug.ini empty
settings in home machine and IDEA
uname -a
Linux HOME-PCL 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64 GNU/Linux

iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:63342         0.0.0.0:*               LISTEN      1961/java           
tcp        0      0 0.0.0.0:20080           0.0.0.0:*               LISTEN      1961/java           
tcp        0      0 0.0.0.0:9009            0.0.0.0:*               LISTEN      1961/java           
tcp        0      0 127.0.0.1:5939          0.0.0.0:*               LISTEN      848/teamviewerd     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      409/cupsd           
tcp        0      0 0.0.0.0:10137           0.0.0.0:*               LISTEN      1961/java           
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1080/exim4          
tcp        0      0 127.0.0.1:9050          0.0.0.0:*               LISTEN      645/tor             
tcp        0      0 127.0.0.1:6942          0.0.0.0:*               LISTEN      1961/java           
tcp        0      0 127.0.0.1:58846         0.0.0.0:*               LISTEN      1827/python         
tcp        0      0 0.0.0.0:58433           0.0.0.0:*               LISTEN      1827/python         
tcp6       0      0 :::80                   :::*                    LISTEN      649/apache2         
tcp6       0      0 ::1:631                 :::*                    LISTEN      409/cupsd           
tcp6       0      0 ::1:25                  :::*                    LISTEN      1080/exim4          
tcp6       0      0 :::58433                :::*                    LISTEN      1827/python

IDEA
67ac1740d1b8.png982ea77bd238.png9ddd3a0aa95b.png2d7086fa3e0a.pnge9afbd82c2ee40fa803b68f6c0e27480.png23b2e160c940447c875e80638bb1d452.png
router settings where
192.168.1.10 server
192.168.1.20 PC
4e32477eaa3e4627b486bdcf8180396b.png
ping and telnet passes.
I can not understand why xdebug does not work?

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