StartingPoint error

Hi there,
As you can tell I am new to HTB and pentesting in general, however it is something I have been really interested in for the past few years.
Almost completed the StartingPoint machine however I get an error when in the foothold stage. When I enter the last command that it tells you to enter on it I get an error saying "The underlying connection was closed:The connection was closed unexpectedly.

I have followed the rest of the instructions, set up the web server using python, set the listener to port 443, and allowed tcp from 10.10.10.27 . After going through all of this I honestly can’t for the life of me figure out what to do to fix this. Any help is appreciated.