Open up a command line window, activate the virtual environment, and run the python command to get into the python shell.
In the shell, run the following commands and report back what the results are:
(No output is expected from this first command)
import socket
socket.gethostname()
socket.getfqdn()
socket.getfqdn('127.0.0.1')