Why Do I Get the Error "Connection Refused"?

⌘K
  1. Home
  2. Programmable Voice
  3. FAQ
  4. Why Do I Get the Error “Connection Refused”?

Why Do I Get the Error “Connection Refused”?

There are several potential causes of receiving the error “connection refused” when you try to connect to the Voice Elements Server.

Possible Causes of the Error “Connection Refused”

To help you troubleshoot the cause, here are a few common items to check on:

Are you sure that Voice Elements Server is running?

Make sure that Voice Elements Server is running. This is very common, but is often overlooked. When you are unable to connect, you will need to make sure that Voice Elements Server is running.

Open the Elements Server Log

For specific information, you will want to open up the ElementsServer.log which by default is located here:

C:\Program Files\Inventive Labs\Voice Elements Server\ElementsServer.log.

Look for any issues that could have either prevented Voice Elements Server from starting or any issues that may have caused it to crash unexpectedly.

Are You Connecting to the Correct Port?

Verify that the Voice Elements Client is trying to connect to the same address/port that Voice Elements Server is listening on.  Check the ElementsServer.config file and look at the following settings.

Server Connection String

‘ServerConnectionString’ is the connection string that a Voice Elements Client will use to connect to this instance of Voice Elements Server. Make sure that the IP address in this connection string is the IP address of the Voice Elements Server.

Server Listening Port

‘ServerListeningPort’ is the port that Voice Elements Server listens to. Make sure that your Voice Elements Client is trying to connect to the same port that is specified in this configuration setting. By default the port is 54331.

Server Listening IP

‘ServerListeningIp’ is the IP address that the Voice Elements Server listens to. Make sure that the IP address in this configuration setting matches the IP address of the Voice Elements Server. Also, make sure that Voice Elements Client has the correct IP address specified.

Did You Change Any Settings?

Remember that whenever you change any configuration settings to Voice Elements Server, you will need to restart Voice Elements for these changes to take effect.

Are you Behind a Firewall?

If your Voice Elements Server or Client is behind a firewall, you will need to make sure that port 54431 (or the port that you have specified in the ElementsServer.config file) is open on both your client and server.

Was this article helpful to you? No Yes 14

How can we help?