Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

How to connect IClient to dukascopy server through a proxy?
 Post subject: How to connect IClient to dukascopy server through a proxy? Post rating: 0   New post Posted: Tue 23 Feb, 2021, 02:41 

User rating: 0
Joined: Mon 22 Feb, 2021, 16:43
Posts: 1
Location: China,
I run a JForex API client in a server, this server can't directly connect to dukascopy server.
Does anyone know how can i connect the JForex API client to dukascopy server through a proxy?


 
 Post subject: Re: How to connect IClient to dukascopy server through a proxy? Post rating: 0   New post Posted: Thu 06 May, 2021, 16:34 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Greetings.

Set following system properties before calling IClient.connect():

System.setProperty("http.proxyHost", ...);
System.setProperty("http.proxyPort", ...);
System.setProperty("https.proxyHost", ...);
System.setProperty("https.proxyPort", ...);

Regards.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com