I have geoserver installed in my web server and I want to create a GeoTIFF layer. I am accessing geoserver through my local machine and I have GeoTIFF file reside in my local machine. The problem is geoserver doesn't recognize the path of the file I specified so it is unable to create the layer for me.
Below is my curl command,
exec('curl -u admin:geoserver -v -XPUT -H "Content-type:image/tiff" --data-binary "http://192.168.1.2:82/TrueMarble.32km.1350x675.tif" "http://107.167.186.125:8080/geoedge/rest/workspaces/geoedge/coveragestores/st_tif_layer_8/file.geotiff" ');
It creates coverage but doesn't create layer there, Can't I access my file using IP address, should it reside in the same server as geoserver installed.