开发者

Jetty 6: Unknown Error 99

开发者 https://www.devze.com 2022-12-31 19:45 出处:网络
The system I\'m developing is comprised of a jetty server (v6.1.2rc4) and a php frontend that sends http requests to jetty via curl_exec.

The system I'm developing is comprised of a jetty server (v6.1.2rc4) and a php frontend that sends http requests to jetty via curl_exec. The server and开发者_StackOverflow中文版 the client are on the same machine.

The requests I send can be both POSTs and GETs, I get the same error for either which is:

Failed to connect to 127.0.0.1: Unknown error 99

This is rather cryptic.

It seems that after the first problematic request, some of the following (unrelated) requests also get corrupted.

It looks like jetty is simply refusing the connection, but I can't read more than that into the error message.

I thought it was a problem with the server's configuration, so I tried changing jetty's maxIdleTimeMs, but without success.

Any idea about what to do is welcome

thanks,

Silvio

EDIT: I get the error after the server has already answered some requests successfully


Double-check that your Jetty server is actually running - you probably have another server running on port 80 (the default server port, and used by Apache and IIS). Configure Jetty to listen to port 8080 or something (or your other server).

0

精彩评论

暂无评论...
验证码 换一张
取 消