It is a network error!
1.If you run your sparkstreaming on windows.just run:
ncat.exe -lk 7777
and download ncat.exe at https://nmap.org/ncat/
2.If you run your sparkstreaming on linux.just run:
nc -lk 7777
and make sure you have install on your linux