When i run the project starter consumer after changing the config file, i get this error.
Config changes :
\appId = "ELEKTRON_DD"
\enumDictionaryFilename = "./enumtype.def"
\fieldDictionaryFilename = "./RDMFieldDictionary"
# position to be used for Login
# According to the RDM usage guide: If the server is authenticating with DACS, the consumer application might be required to pass in a valid position.
# ip addr/hostname or ip addr/net
# \position = "MyHostNameWasAddedHer"
\runTimeInSeconds = 0
\service = "DIRECT_FEED"
\session = "Session1"
\userName = "MyUserNameWasAddedHer"
\itemName = "TRI.N"
StarterConsumer example uses 2 configs, ExampleRFA.cfg and StarterConsumer.cfg, by default
As you are timing out on connection, the first item to check is in ExampleRFA.cfg
\Connections\Connection_RSSL\hostName = "your host"
Try testing via ping from the host where consumer is running to the host as configured, to verify that you are able to resolve the host name exactly as configured.
Would like to recommend reviewing RFA.NET tutorial on RFA configuration for better understanding of how configuration hooks together with the application.