Trying curl xput, receiving http 301, nothing putted :(

Hey guys,

im new to elastic search and tried the guide

Everything went fine until i tried this command
curl -XPUT 'http://localhost:9200/blog/user/dilbert' -d '{ "name" : "Dilbert Brown" }'
expected was:
but received was a redirection header. -v shows a moved permanently error.
curl -XPUT 'http://localhost:9200/blog/user/dilbert' -vd '{ "name" : "Dilbert Brown" }'

  • About to connect() to proxy proxy.[...].de port 8080
  • Trying [my ip].. connected
  • Connected to proxy.[...].de ([my ip]) port 8080
  • Proxy auth using Basic with user '[some user]'

PUT http://localhost:9200/blog/user/dilbert HTTP/1.1
Proxy-Authorization: Basic dHptOnRhbmdvITA1
User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Host: localhost:9200
Pragma: no-cache
Accept: /
Proxy-Connection: Keep-Alive
Content-Length: 28
Content-Type: application/x-www-form-urlencoded

{ "name" : "Dilbert Brown" }HTTP/1.1 301 Moved Permanently
< Server: BlueCoat-Security-Appliance
< Location:http://[my ip]
< Connection: Close



* Closing connection #0

as you may already have noticed im using redhat enterprise edition. elasticsearch version is 0.20.5. java is version 7, also tried with version 6. elasticsearch started successfully. the folders (blog/user blog/post) bot exist and rights are at 777. i also checked the folders content (even hidden files).. nothing.

so.. what am i doing wrong or where is the problem that i have to fix to get to the wanted result?