That's an HTTP 302 redirect which is saying that the resource is at a different location. Very standard HTTP behavior. You need to follow the redirect to the pointed to location. So if you ran: "curl 127.0.0.1:8080/index.html" it would have worked. Alternatively you can ask curl to follow the redirect for you automatically using -L. So "curl -L 127.0.0.1:8080". Alternatively, if you loaded the original URL in any browser it would follow the redirect automatically as well.
- Erik On Fri, Apr 29, 2016 at 8:10 PM, Joaquin Menchaca <[email protected]> wrote: > I get nothing with *curl 127.0.0.1:8080 <http://127.0.0.1:8080>* > > How could I troubleshoot further? > > HTTP/1.1 302 Found > Date: Sat, 30 Apr 2016 03:10:17 GMT > Location: /index.html > Content-Length: 0 > Server: Jetty(7.x.y-SNAPSHOT) > > > > -- > > 是故勝兵先勝而後求戰,敗兵先戰而後求勝。 >
