Why do I get the error "connection refused" when I try to connect to Voice Elements Server?
There are several potential causes of this error. 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. 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
Open up the ElementsServer log and 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.
The ElementsServer.log file in many cases provides a good overview of issues that may have occurred in VoiceElements. However, more detailed information in regards to specific errors can often be found in the CTI32.log. That log file is located here: C:\Program Files\Inventive Labs\Voice Elements Server\Logs\CTI32.log
Are you sure 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:
- ServerConnectionString – This 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.
- ServerListeningPort - This 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.
- ServerListeningIp - This 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.
Lastly, 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.
Is the Voice Elements Server or Client behind a firewall of some sort?
If you are 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.