I’m having this issue just recently as well after installing IIS on the same server and separating off IP addresses.
I have done the following:
Applied a specific IP to both IIS and Wowza
Ensured both bind to their own and don’t try to bind to the others. Wowza’s log shows this (IP address taken out, safe to assume it’s correct):
INFO server comment - RESTServer: Bind attempt ([***********]:8087)
INFO server comment - RESTServer: Bind successful ([***********]:8087)
So I know the admin service can bind fine.
In the Server.xml file I have added that particular IP, localhost and 127.0.0.1 to the whitelist section of the 8087 port area.
Whether I access the service manager through either the 127.0.0.1 or the actual IP that I set for the 8088 service (and streaming services), I get the error:
Wowza Streaming Engine Manager could not connect to the Wowza Steaming Engine (http://localhost:8087). Verify that the Wowza Streaming Engine service has started and is running.
Yes, that’s a typo guys… It’s not a “Wowza Steaming Engine”, but I digress. It’s still accessing the localhost for the 8087 service when it’s clearly bound to the IP. Not sure if that matters as this next error shows up (removed IP for security purposes):
Jul 29, 2015 11:55:10 AM org.restlet.ext.httpclient.internal.HttpMethodCall send
Request
WARNING: An error occurred during the communication with the remote HTTP server.
org.apache.http.conn.HttpHostConnectException: Connection to http://*********:8087 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect
ion(DefaultClientConnectionOperator.java:190)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.ja
va:151)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPool
edConnAdapter.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Default
RequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq
uestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:805)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:784)
at org.restlet.ext.httpclient.internal.HttpMethodCall.sendRequest(HttpMe
thodCall.java:347)
at org.restlet.engine.adapter.ClientAdapter.commit(ClientAdapter.java:11
at org.restlet.engine.adapter.HttpClientHelper.handle(HttpClientHelper.j
ava:112)
at org.restlet.Client.handle(Client.java:162)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1104)
at org.restlet.resource.ClientResource.handleOutbound(ClientResource.jav
a:1188)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1059)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1035)
at org.restlet.resource.ClientResource.handle(ClientResource.java:937)
at org.restlet.resource.ClientResource.get(ClientResource.java:645)
at com.wowza.wms.rest.WMSClientResource.get(Unknown Source)
at com.wowza.wms.rest.server.ServerConfig.getObjectFromRESTQuietly(Unkno
wn Source)
at com.wowza.wms.rest.restserver.RESTServer.a(Unknown Source)
at com.wowza.wms.rest.restserver.RESTServer.a(Unknown Source)
at com.wowza.wms.rest.restserver.RESTServer$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSoc
ketFactory.java:127)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSoc
ketFactory.java:184)
at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(
SchemeSocketFactoryAdaptor.java:65)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect
ion(DefaultClientConnectionOperator.java:180)
… 25 more
So how do I fix this?