Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('\n-- Server Configuration --\n\n')
- print("\033[32mPrivate IP:\033[0m\n")
- print('\033[4m' + socket.gethostbyname(socket.gethostname()) + '\033[0m')
- print('\n\033[32mPublic IP:\033[0m\n')
- ipadd = get('https://api.ipify.org').text
- print('\033[4m' + format(ipadd) + '\033[0m\n')
- print('\n\033[32mServer:\033[0m\n')
- print('\033[4mhttps://enhxum5vgqymwsa.m.pipedream.net\033[0m\n')
- print('\n\033[32mServer Status:\033[0m\n')
- print('\033[4m' + str(connected) + '\033[0m\n')
Add Comment
Please, Sign In to add comment