Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GStack.LocalAddress returns empty only with Delphi 10
#2
Are you using these on the same machine? I dont think this is a difference between compiler versions.

Unless something has changed (and I have not looked at this in a long time since networking is now pervasive) if there are NO network adapters available, 127.0.0.1 will not be usable. You need at *least* one active networking adapter.

It is possible this has changed, it has been a very long time since I've needed to work on a machine with no network adapter at all. In such cases the solution used to be to install the Microsoft Network Loopback adapter which is part of Windows but must be manually added. This is a "dummy" network card that provides for local access using 127.0.0.1 when no physical networks exist.

https://www.youtube.com/watch?v=0HEhLsnHsdA
Reply


Messages In This Thread
RE: GStack.LocalAddress returns empty only with Delphi XE10 - by kudzu - 11-14-2019, 07:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)