Forum Discussion
Hi,
You missed to mention on which browser it should run.
Ex: Browsers.Item(btIExplorer).Run("https://[<IPv6_addr>]:<port_num>")
- firdosh8 years agoNew Contributor
Here, I just the mentioned the routine which I am using. And of course, I have mentioned the browser type in my script :)
var natIP = "x:x:x:x:x:x:x:x";
natIP = "[" + natIP + "]"; // IPv6 address needs to be enclosed within []
var loginURLStr = "https://" + natIP + ":5480";
Browsers.Item(btIExplorer).Run(loginURLStr);The above snippet works fine for an IPv4 address, but throws error message for an IPv6 address.
Regards,
Mohammed Firdosh Nasim.
- shankar_r8 years agoCommunity Hero
Hi,
This is just a guess, Can you try chr function instead of using [].
Ex:
natIP = chr(91) + natIP + chr(93); // IPv6 address needs to be enclosed within []
i'm not having web module to check this
- firdosh8 years agoNew Contributor
Tried as suggested, but still seeing the same error. Basically when it encounters a colon (:) in IPv6 address format, it throws the error. Tried to replace : with chr(58), but no luck.
Related Content
- 13 years ago
- 13 years ago
- 5 years ago
Recent Discussions
- 47 minutes ago