I am developing a site using Zend server and debugging has been working fine on localhost. However, I just uploaded the site to a remote server to test some functions and I cannot get PHPStorm to debug the remote pages. My configuration looks correct, so I don't know what else to try.
The server name is "126.96.36.199" (no domain associated with it yet). Port is 80. (See graphic1)
My local IP is 192.168.1.221. I've created bookmarklets using this IP.
On the remote Zend server, I've added 192.168.*.* as well as my ISP IP address 96.249.*.* to the zend debugger allowed hosts. (See graphic2)
Zend debugger is turned on and configured on the server (graphic3).
I even opened up ports 10137, 9000 and 20080 on the server (but not sure I needed to).
A dump of $_SERVER on the remote page shows:
[SERVER_SOFTWARE] => Apache/2.2.22 (Ubuntu)
[SERVER_NAME] => 188.8.131.52
[SERVER_ADDR] => 10.211.159.138
[SERVER_PORT] => 80
[REMOTE_ADDR] => 184.108.40.206
[DOCUMENT_ROOT] => /var/www
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => /var/www/index.php
[REMOTE_PORT] => 53537
[REDIRECT_URL] => /login-check
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[REQUEST_URI] => /login-check
[SCRIPT_NAME] => /index.php
[PHP_SELF] => /index.php
So SERVER_NAME and SERVER_PORT match my PHPSTORM configuration.
I then click on "listen for PHP debug connections" in PHPSTORM, then click the bookmark "Debug this page" and then refresh the page I want to debug and... it just refreshes. PHPStorm never breaks at the first line or any line. It's as though it never heard to the debug request.
What else is there I can check, or what have I missed??