Forums

Could not connect to server moss.stanford.edu: Connection refused

Trying to use the source code similarity detection tool Moss got the error: Connection refused

However, the url 'moss.stanford.edu' is in the whitelist as you can check in https://www.pythonanywhere.com/whitelist/

Running the telnet: telnet moss.stanford.edu 7690 Trying 171.64.78.49... telnet: Unable to connect to remote host: Connection refused

Does anyone know how to solve this problem?

You will not be able to connect out using telnet on a non-http port. Free accounts can only connect out on port 80 and 443 (http and https) through the proxy.