Logon error and connection reset by peer

Created at 19 Feb 2025, 16:48
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
EM

emillysilva.prod

Joined 10.02.2025

Logon error and connection reset by peer
19 Feb 2025, 16:48


Subject: Logon Error and Connection Reset by Peer (FIX API - Account 5010171)

Hi,

I am trying to connect to the cTrader FIX API using my demo account (5010171), but I keep getting a "Connection Reset by Peer" error.

Here is the Logon message I am sending:

8=FIX.4.49=12635=A34=149=demo.pepperstone.501017152=20250219-16:42:04.00056=CSERVER57=TRADE98=0108=30141=Y553=5010171554=password10=118


- Server: `demo-us-eqx-01.p.c-trader.com`
- Port: `5212`
- Username: `5010171`
- SenderCompID: `demo.pepperstone.5010171`
- TargetCompID: `CSERVER`
- EncryptMethod: `0`
- ResetSeqNumFlag: `Y`

Could you confirm if my account has access to the FIX API? Also, is there any specific requirement for logging in that I might be missing?

Thank you in advance!
 


@emillysilva.prod
Replies

ctid1980098
03 Mar 2025, 13:51

Hi, try port 5202 first and see if error goes away. also reset your password and try again. 


@ctid1980098