title: How to debug connection from computer to server, server-side
body: <p>My Centos 7 server is running apache 2.4.6, and is serving up a django webapp using mod_wsgi.  My problem is that I cannot access the server url from my browser from another computer.  I am not getting any errors from apache and its up and running no problem. I've set the error logs to 'debug' in the http.conf file but still no errors.  I know the server is in fact connected to the internet by pinging it, i know it is listening on port :80 by running </p>
  
  <p><code>netstat -tunlp | grep 80</code>.</p>
  
  <pre><code>tcp        0      0 0.0.0.0:60080           0.0.0.0:*               LISTEN      3841/name-gu 
  tcp6       0      0 :::80                   :::*                    LISTEN      13882/httpd  
  </code></pre>
  
  <p>I have temporarily turned off all firewalls server-side as well</p>
  
  <p>My settings.py has the url, ip address, and localhost under <code>ALLOWED_HOSTS</code></p>
  
  <p>How do i debug this issue so i have an error i can look into? </p>
  
  <hr>
  
  <p><strong>Log</strong>:
  Let me know if more information is need
  ran <code>tcpdump -nn tcp port 80</code> on server computer
  then ran <code>curl -v myurl.com</code> on my machine and get these results on my server:</p>
  
  <pre><code>13:11:52.225076 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [S], seq 3327782620, win 29200, options [mss 1460,sackOK,TS val 36451589 ecr 0,nop,wscale 7], length 0
  13:11:52.225355 IP 10.0.26.20.80 &gt; 10.0.24.67.40658: Flags [S.], seq 1689726058, ack 3327782621, win 28960, options [mss 1460,sackOK,TS val 73904848 ecr 36451589,nop,wscale 7], length 0
  13:11:52.225960 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [.], ack 1, win 229, options [nop,nop,TS val 36451590 ecr 73904848], length 0
  13:11:52.226198 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [P.], seq 1:101, ack 1, win 229, options [nop,nop,TS val 36451590 ecr 73904848], length 100: HTTP: GET / HTTP/1.1
  13:11:52.226448 IP 10.0.26.20.80 &gt; 10.0.24.67.40658: Flags [.], ack 101, win 227, options [nop,nop,TS val 73904849 ecr 36451590], length 0
  13:11:52.231414 IP 10.0.26.20.80 &gt; 10.0.24.67.40658: Flags [P.], seq 1:286, ack 101, win 227, options [nop,nop,TS val 73904854 ecr 36451590], length 285: HTTP: HTTP/1.1 200 OK
  13:11:52.232052 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [.], ack 286, win 237, options [nop,nop,TS val 36451596 ecr 73904854], length 0
  13:11:52.232814 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [F.], seq 101, ack 286, win 237, options [nop,nop,TS val 36451597 ecr 73904854], length 0
  13:11:52.233003 IP 10.0.26.20.80 &gt; 10.0.24.67.40658: Flags [F.], seq 286, ack 102, win 227, options [nop,nop,TS val 73904856 ecr 36451597], length 0
  13:11:52.233414 IP 10.0.24.67.40658 &gt; 10.0.26.20.80: Flags [.], ack 287, win 237, options [nop,nop,TS val 36451597 ecr 73904856], length 0
  </code></pre>