When i click on Geoserver Web Admin Page gives Message as 'Bad Request (Invalid Hostname)' in web page. I have already data of on going project in geoserver. I have started Geoserver. My geoserver version 2.1.3. in window Xp operating System. Can any one please guide me to get out of the error and get back Geoserver web Admin Page. Please see the Page result in images below.
2 Answers
i think this problem stems from your 8080 port is occupied from another app. if you want to change your GeoServer port follow this way.
find your
startup.bat
under GeoServerbin
folder.open it
startup.bat
with notepad++find GeoServer serving port
geoserver-Djetty.port = 8080
and change it.restart your GeoServer
i hope it helps you...
-
This worked in one system. but other system doesn't not have this geoserver-Djetty.port = 8080. In that case what should i do?. There i can see only "call "C:\Program Files\GeoServer 2.1.3\wrapper.exe" -t wrapper/wrapper.conf" in startup.bat file.– PariCommented Dec 19, 2012 at 4:19
I had the same problem with 8080 port, I uninstalled the software the reinstalled it, during the installation i changed the port into 8180, the problem remain, i download a file from this link https://github.com/boundlessgeo/gsconfig i run the sutup.py file, then it worked
-
That shouldn't have changed anything. That library is for interacting with GeoServer, and installing the library will not affect whether or not you can connect to an instance. Commented Apr 1, 2017 at 0:19