Wowza Community

How to resolve error : A timeout occurred while attempting to connect .....at time of connecting to server connection inoitialization

I am getting error when initializing server connection i.e. A timeout occurred while attempting to connect . . .

with below configuration

goCoderBroadcastConfig.setHostAddress("192.168.0.174");
goCoderBroadcastConfig.setPortNumber(1935);
goCoderBroadcastConfig.setApplicationName("live");
goCoderBroadcastConfig.setStreamName("myStream");
goCoderBroadcastConfig.setUsername("user");
goCoderBroadcastConfig.setPassword("password");

Hi @Tarun Kaushik. can you share with me a screenshot of your connection settings in Engine? The settings you have shared with me are the defaults and I need to see if they match what was provided in Engine.

In Windows 10, if you open Windows Firewall and Advanced Security, you will need to create a new Inbound Rule to allow for connections on port 1935. If you click on “New Rule” and select “Port” instead of “Program”, you should be able to build a TCP rule for port 1935, allowing these inbound connections.