Hello, i have a small question:
on windows the
function would return my ip (eg 184.108.40.206) which i could use for a server ( socket.bind() )Code:socket.gethostbyname(socket.gethostname())
on ubuntu i get the localhost address, thus rendering the server useless. i tried binding to my ip address directly or using the domain name from no-ip (email@example.com -> ip address) but i get (99, 'Cannot assign requested address') error.
thanks in advance.