Hello, i have a small question:
on windows the
function would return my ip (eg 220.127.116.11) 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 (firstname.lastname@example.org -> ip address) but i get (99, 'Cannot assign requested address') error.
thanks in advance.