I am attempting to debug php that is running on a remote linux apache
server from my Windows PC at home.
I am able to debug the server scripts when I log in remotely to the server
and call the php from the text-browser links. The problem is that I can't
do this from my PC.
The traffic from the linux box on port 9000 looks like this:
# tcpdump -nnvvXSx port 9000
error : ret -1
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535
bytes
08:23:26.219251 IP (tos 0x0, ttl 64, id 5077, offset 0, flags [DF], proto
TCP (6), length 60)
server.44988 > pc.9000: Flags [S], cksum 0x73a4 (incorrect -> 0xd61e),
seq 1314151179, win 14600, options [mss 1460,sackOK,TS val 4278494 ecr
0,nop,wscale 7], length 0
0x0000: 4500 003c 13d5 4000 4006 b371 ac1f 14cf E..<..@.@..q....
0x0010: 56b2 5bd5 afbc 2328 4e54 5b0b 0000 0000 V.[...#(NT[.....
0x0020: a002 3908 73a4 0000 0204 05b4 0402 080a ..9.s...........
0x0030: 0041 48de 0000 0000 0103 0307 .AH.........
08:23:26.260047 IP (tos 0x78, ttl 114, id 2718, offset 0, flags [DF], proto
TCP (6), length 40)
pc.9000 > server.44988: Flags [R.], cksum 0xc015 (correct), seq 0, ack
1314151180, win 0, length 0
0x0000: 4578 0028 0a9e 4000 7206 8a44 56b2 5bd5 Ex.(..@.r..DV.[.
0x0010: ac1f 14cf 2328 afbc 0000 0000 4e54 5b0c ....#(......NT[.
0x0020: 5014 0000 c015 0000 P.......
xdebug.log:
Log opened at 2013-08-26 08:23:26
I: Checking remote connect back address.
I: Remote address found, connecting to pc:9000.
E: Could not connect to client. :-(
Log closed at 2013-08-26 08:23:26
That's probably enough to get the conversation started. The client I am
using is a chrome addin Xdebug
helper<https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc>
.
Kind Regards,
Harold Naparst
Received on Mon Aug 26 2013 - 09:43:44 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST