0

I run below command from terminal where jetty 10 server is running but getting below error.

admin@provo-blond:~> curl -v localhost:9240
* Rebuilt URL to: localhost:9240/
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9240 (#0)
> GET / HTTP/1.1
> Host: localhost:9240
> User-Agent: curl/7.60.0
> Accept: */*
>
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
* Failed writing body (0 != 7)
* stopped the pause stream!
* Closing connection 0

Need some help on this.

I am expecting below result.

admin@provo-cinnamon:~> curl -v localhost:9240
* Rebuilt URL to: localhost:9240/
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9240 (#0)
> GET / HTTP/1.1
> Host: localhost:9240
> User-Agent: curl/7.60.0
> Accept: */*
>


0 Answers0