Jatin Patel:
HI All,
I tried above code with Allow webrequest but i am getting Error in WebRequest. Error code =5200
but if i try for different url other than localhost it works file like.
I searched for different post and forums but it didn't solved.
https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes
You can not specify a port 8080 and only use port 80 http or port 443 for https.
Please read the documentation: https://www.mql5.com/en/docs/network/webrequest
![Documentation on MQL5: Common Functions / WebRequest Documentation on MQL5: Common Functions / WebRequest](https://c.mql5.com/36/17/documentation-on-mql5-common-functions.png)
Documentation on MQL5: Common Functions / WebRequest
- www.mql5.com
To use the WebRequest() function, add the addresses of the required servers in the list of allowed URLs in the "Expert Advisors" tab of the "Options" window. Server port is automatically selected on the basis of the specified protocol - 80 for "http://" and 443 for "https://". The WebRequest() function is synchronous, which means its breaks the...
Thanks buddy.
@Marco vd Heijden
Marco vd Heijden:
You can not specify a port 8080 and only use port 80 http or port 443 for https.
Please read the documentation: https://www.mql5.com/en/docs/network/webrequest
I have a link with 6868 port :(
How to use this port? thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
HI All,
I tried above code with Allow webrequest but i am getting Error in WebRequest. Error code =5200
but if i try for different url other than localhost it works file like.
I searched for different post and forums but it didn't solved.