使用curl,我可以使用GET,但我可以';不要用邮政

使用curl,我可以使用GET,但我可以';不要用邮政,curl,firewall,lan,Curl,Firewall,Lan,当我发送get请求时,我总是获得成功的代码200 root# curl -X GET http://<url>:7701 /services/S12002030 -vL * About to connect() to <url> port 7701 (#0) * Trying <server's IP>... * Connected to <url> (<server's IP>) port 7701 (#0) > GET /

当我发送get请求时,我总是获得成功的代码200

root# curl -X GET http://<url>:7701 /services/S12002030 -vL
* About to connect() to <url> port 7701 (#0)
*   Trying <server's IP>...
* Connected to <url> (<server's IP>) port 7701 (#0)
> GET /services/S120020030 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <url>:7701
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Lenght: 0
< 
* Connection #0 to host <url> left intact
root# curl -X POST -d"data=123" http://<url>:7701 /services/S12002030 -vL
* About to connect() to <url> port 7701 (#0)
*   Trying <server's IP>...
* Connected to <url> (<server's IP>) port 7701 (#0)
> POST /services/S120020030 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <url>:7701
> Accept: */*
> Content-Lenght: 8
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 8 out of 8 bytes
* Empty reply from server
* Connection #0 to host <url> left intact
curl: (52) Empty reply from server
root#curl-X GET http://:7701/services/S12002030-vL
*即将连接()到端口7701(#0)
*正在尝试)端口7701(#0)
>GET/services/s120030 HTTP/1.1
>用户代理:curl/7.29.0
>主机:7701
>接受:*/*
>
但我无法使用POST请求从服务器获得任何响应

root# curl -X GET http://<url>:7701 /services/S12002030 -vL
* About to connect() to <url> port 7701 (#0)
*   Trying <server's IP>...
* Connected to <url> (<server's IP>) port 7701 (#0)
> GET /services/S120020030 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <url>:7701
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Lenght: 0
< 
* Connection #0 to host <url> left intact
root# curl -X POST -d"data=123" http://<url>:7701 /services/S12002030 -vL
* About to connect() to <url> port 7701 (#0)
*   Trying <server's IP>...
* Connected to <url> (<server's IP>) port 7701 (#0)
> POST /services/S120020030 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <url>:7701
> Accept: */*
> Content-Lenght: 8
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 8 out of 8 bytes
* Empty reply from server
* Connection #0 to host <url> left intact
curl: (52) Empty reply from server
root#curl-X POST-d“data=123”http://:7701/services/S12002030-vL
*即将连接()到端口7701(#0)
*正在尝试)端口7701(#0)
>POST/services/s120030 HTTP/1.1
>用户代理:curl/7.29.0
>主机:7701
>接受:*/*
>内容长度:8
>内容类型:application/x-www-form-urlencoded
>
*上传完全发送:8个字节中的8个
*来自服务器的空回复
*0到主机的连接保持不变
curl:(52)来自服务器的空回复
客户端和服务器不在同一LAN中。它显示了当我使用“ping”或“telnet”时,客户端和服务器可以通信

我尝试使用另一个LAN上的客户端访问服务器。我至少可以获得一个状态代码和一条xml消息。因此,服务器应该已启动并正在运行