Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using geoserver to display GIS data on my hosted website when geoserver is running I can see my data on my website in both firefox and Internet explorer but only on my laptop where I have geoserver running, when I try to view the website using Firefox or IE on another PC I just get a blank box with error on page warning on the bottom of the web browser. can anyone help with this thanks

share|improve this question
2  
If you have the time and chance, consider going through the tutorial they provide and workshop –  dassouki Aug 11 '11 at 18:53

1 Answer 1

How are you getting your layer with openlayers?

If you are passing the url as "localhost:8181/geoserver" javascript won't find it because JavaScript works on the client side. Also, JavaScript can only access geoserver if its on the same host (for security reasons). You'll have to set up a proxy for geoserver so you can access geoserver from yourhost/geoserver instead of yourhost:8181/geoserver.

share|improve this answer
    
yes i am using localhost:8181/geoserver, i am anew user to geoserver is it difficult to setup a proxy for geoserver? –  ghostfacemapper Aug 11 '11 at 18:19
    
@ghostface It depends on what web server you are using –  Nate Aug 11 '11 at 18:44
    
    
iam using a hosted website buy a comapny called 1&1 –  ghostfacemapper Aug 11 '11 at 18:58
3  
you need to host your geoserver on a shared (using apache webserver) PC or server - localhost will only be accessible from your laptop without it. gistutor.com/geoserver/21-intermediate-geoserver-tutorials/… –  Mapperz Aug 11 '11 at 19:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.