
- www.mql5.com
Hello you can not usethat port please use port 80 for webrequest and 443 or use a different method.
This is not the address to which the customer is requesting service.
Why the port 80 address will be approved
thank
Please read the documentation.
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://".
Please read the documentation.
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.
יציאת שרת נבחרת אוטומטית על בסיס הפרוטוקול שצוין - 80 עבור "http: //" ו- 443 עבור "https: //".
thank
I changed the address to port 80 and still falls on 4014 in debugging
the code:
string url= "http://localhost:80/api/Manage";
ResetLastError();
int res=WebRequest("GET",url,cookie,NULL,500,post,0,result,headers);
the listener:
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using 'C:\Users\USER\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
warn: Microsoft.AspNetCore.Server.HttpSys.MessagePump[0]
Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints added to UrlPrefixes instead.
info: Microsoft.AspNetCore.Server.HttpSys.HttpSysListener[0]
Start
info: Microsoft.AspNetCore.Server.HttpSys.HttpSysListener[0]
Listening on prefix: http://localhost:80/
Hosting environment: Development
Content root path: C:\Users\USER\source\repos\Asset\AssetApiMql
Now listening on: http://localhost:80/
Application started. Press Ctrl+C to shut down.
Server port is automatically selected on the basis of the specified protocol -
you can not change it.
RivkaMinHahar:
I did not understand .
I built a api and changed the address to port 80 using HTTP: SYS.
///
Hosting environment: Development
Content root path: C:\Users\USER\source\repos\Asset\AssetApiMql
Now listening on: http://localhost:80/
Application started. Press Ctrl+C to shut down.
/////

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Enables the checkbox: allow web request for listed URL, I add the address click OK and everything is canceled. See attachments