Adding "Allow WebRequest" does not work as expected - page 2

 

Problem Solved.

Thank you Fernando

Also found another way to solved the problem, installed a new version of the MT4 ( downloaded again from the website). Was able to add the URL's and didn't cause any trouble with the  other MT4 platforms already running on the server

 
Pascoal Jose Maria Junior #: Problem Solved.Thank you Fernando. Also found another way to solved the problem, installed a new version of the MT4 ( downloaded again from the website). Was able to add the URL's and didn't cause any trouble with the  other MT4 platforms already running on the server.
You are welcome1
 

It looks in MT5 there is an issue with the URL validator. If I type:
http://something.com/xyz --> it works
http://somethingcom --> it does NOT work.
http://localhost:8080 --> it does NOT work.
http://local.host/something --> it works

Looks like it checks for a dot (.) in the host name, which is odd because I'm running a server in the local machine. So I had to create a new entry in the "hosts" file pointing to localhost.

In Windows: look for C:\Windows\System32\drivers\etc\hosts -> edit with Notepad and add the following line at the end:

127.0.0.1 local.host

Then you can allow the url like  http://local.host:8080/something (even with port numbers!)


 
Luciano Zappa #:

It looks in MT5 there is an issue with the URL validator. If I type:
http://something.com/xyz --> it works
http://somethingcom --> it does NOT work.
http://localhost:8080 --> it does NOT work.
http://local.host/something --> it works

Looks like it checks for a dot (.) in the host name, which is odd because I'm running a server in the local machine. So I had to create a new entry in the "hosts" file pointing to localhost.

In Windows: look for C:\Windows\System32\drivers\etc\hosts -> edit with Notepad and add the following line at the end:

127.0.0.1 local.host

Then you can allow the url like  http://local.host:8080/something (even with port numbers!)


The correct naming of 127.0.0.1 would be

localhost.localdomain

But in general you should set up a proper network, if you are working with servers and domain names.
 
I had the same problem - pasted the url to the VPS - Webrequest. Upon further frustation and inspection I saw that the : was translated to ; whilst pasting. It was very hard to spot