Subj : Getting the BBS IP address To : Codefenix From : Digital Man Date : Sun Sep 10 2023 02:50 pm Re: Getting the BBS IP address By: Codefenix to Digital Man on Sun Sep 10 2023 12:22 pm > Re: Getting the BBS IP address > By: Digital Man to Codefenix on Fri Sep 08 2023 01:03 pm > > DM> server.interface_ip_address > > Isn't that deprecated? It still works and I have no plans to remove it. > DM> Or (if you have multiple IP addresses), server.interface_ip_addr_list > > I just have one, so I assume I would do: server.interface_ip_addr_list[0] > > When I try that though, it returns 0.0.0. And that would be correct if your BBS is only listening on IPv4 "any". I would expect the IPv6 "any" interface address (::) to be listed in that array too, but default. A better idea is probably is to use client.socket.local_ip_address to get the currently connected/used server IP address. -- digital man (rob) Synchronet/BBS Terminology Definition #50: LF = Line Feed (ASCII 10, Ctrl-J) Norco, CA WX: 93.6øF, 37.0% humidity, 4 mph SE wind, 0.01 inches rain/24hrs .