[Geoserver-users] WMS Service ERR_CONNECTION_REFUSED

Hello all,

I am loading a layer like this:

new ol.layer.Image({
    source: new ol.source.ImageWMS({
      url: 'http://localhost:8080/geoserver/wms’,
      params: {'LAYERS': 'watermains'},
      serverType: 'geoserver'
    })
  }),

I have a web site running on port 8081 in the same server as geoserver. When
I run localhost:8081, geoserver loads the page properly. When I run in
another computer with [server address]:8081 it does not load the layer and
output the message ERR_CONNECTION_REFUSED.

In addition, trying to login on geoserver outside the server where it is
installed return always "Invalid username/password combination."

It might be a network problem, but I think it is not because the IIS default
web site works fine in and outside the server.

The environment is Windows server 2012, IIS 8 and geoserver 2.7.1.1. I
already turned the firewall off for testing purposes.

Any ideas?

TIA
JJ.