Guest User

Untitled

a guest
Oct 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. C:test>java LogTCP_S 8000
  2.  
  3. Listening on port:8000, type Crtl-C to finish
  4.  
  5. $ curl localhost:8000
  6. % Total % Received % Xferd Average Speed Time Time Time Current
  7. Dload Upload Total Spent Left Speed
  8. 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
  9.  
  10. curl: (7) Failed to connect to localhost port 8000: Connection refused
  11.  
  12. C:>java -version
  13. java version "1.8.0_191"
  14. Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
  15. Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
Add Comment
Please, Sign In to add comment