curl

Diagnóstico cURL

URL objetivo: https://test.espacioelearning.com/

EscenarioHTTPTamañoTiempoIP ResueltaContent-TypeURL finalError
Petición al propio dominio (Loopback) 200 0 B 168 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -I --connect-timeout 15 -m 15 -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36' -4 'https://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:33 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
x-powered-by: PleskLin
Petición sin Referer 200 71,175 B 218 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -v -o /dev/null -L --max-redirs 5 --connect-timeout 15 -m 15 -A 'DiagCurl/1.0 (+https://tu-sitio.com/curl-test)' -H 'Accept: */*' -4 'https://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:33 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
vary: Accept-Encoding
x-powered-by: PleskLin
Petición con Referer 200 71,175 B 216 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -v -o /dev/null -L --max-redirs 5 --connect-timeout 15 -m 15 -A 'DiagCurl/1.0 (+https://tu-sitio.com/curl-test)' -e 'https://test.espacioelearning.com/' -H 'Accept: */*' -4 'https://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:34 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
vary: Accept-Encoding
x-powered-by: PleskLin
Petición sin verificar TLS 200 71,175 B 189 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -v -o /dev/null -k -L --max-redirs 5 --connect-timeout 15 -m 15 -A 'DiagCurl/1.0 (+https://tu-sitio.com/curl-test)' -e 'https://test.espacioelearning.com/' -H 'Accept: */*' -4 'https://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:34 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
vary: Accept-Encoding
x-powered-by: PleskLin
Petición con UA de Navegador 200 71,175 B 217 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -v -o /dev/null -L --max-redirs 5 --connect-timeout 15 -m 15 -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36' -e 'https://test.espacioelearning.com/' -H 'Accept: */*' -4 'https://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:34 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
vary: Accept-Encoding
x-powered-by: PleskLin
Petición HTTP (espera redirect) 200 71,175 B 193 ms 10.12.0.4 text/html; charset=UTF-8 https://test.espacioelearning.com/
Detalles y comando para terminal
Comando cURL equivalente:
curl -v -o /dev/null -k -L --max-redirs 5 --connect-timeout 15 -m 15 -A 'DiagCurl/1.0 (+https://tu-sitio.com/curl-test)' -e 'https://test.espacioelearning.com/' -H 'Accept: */*' -4 'http://test.espacioelearning.com/'
--- CABECERAS DE RESPUESTA ---
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 16 Dec 2025 12:21:34 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://test.espacioelearning.com/

HTTP/2 200 
server: nginx
date: Tue, 16 Dec 2025 12:21:34 GMT
content-type: text/html; charset=UTF-8
x-powered-by: PHP/8.4.15
content-security-policy: script-src * 'self' 'unsafe-inline' 'unsafe-eval' wistia.com youtube.com blob:
link: <https://test.espacioelearning.com/wp-json/>; rel="https://api.w.org/"
vary: Accept-Encoding
x-powered-by: PleskLin
Pistas rápidas:
– Falla “Petición al propio dominio”: El servidor no puede conectarse a sí mismo (firewall, DNS local o NAT loopback).
– Falla “sin Referer” pero funciona “con Referer”: Protección antileech (hotlinking).
– Falla con UA por defecto pero funciona “con UA de Navegador”: WAF/CDN bloqueando User-Agents sospechosos.
– Solo funciona “sin verificar TLS”: Problema con la cadena de certificados SSL del servidor de origen.
– Solo funciona con resolve_ip: Problema de NAT loopback / hairpinning.
– Error `Could not resolve host`: Problema de DNS en el servidor donde corre PHP.