NetTalk Central

Author Topic: netwebclient : IPv6 addresses and port  (Read 36 times)

AtoB

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Email
netwebclient : IPv6 addresses and port
« on: July 25, 2026, 07:38:33 AM »
(Using nettalk 14.38 and stringtheory 3.86)

I'm trying to get a webclient GET working with an IPv6 address (::1) and a specific port (8090), like this

::1:8090/yadayada

I've activated the LoggingOn property and it shows it reverts to port 80.

I think (!) the methods : .URLHostOnly and .URLPortOnly in stringtheory get confused by the use of "::" for the IPv6 address.

Maybe it needs to get the last ":" in the Host part of the url in order to seperate the port?

When I change:

    e = self.findChar(':',p,,pURL)

To:

    e = INSTRING(':',pURL,-1,s)

In both methods, it works (but I'm not sure wether this introduces side effects ...)

B.t.w. (local) server is IPv6 and via a browser (using [::1]:8090/yadayada) a get a valid response (and the server name shows up as "::1" in Nettalk)