Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

help me to solve this error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi am sneha...my final year project is about tracking botnets..in that my first coding part includes peer registration..
peer registration:


bot creation:


when i compile and execute ,

D:\bot>javac PeerRegistration.java

D:\bot>javac Bots.java

D:\bot>java PeerRegistration


i get output window lik thiswebpage
.when i submit the values.i am getting this error.

please help me to solve this..
i got my review this week...cudn proced bcuz of this.help!!!
 
Sheriff
Posts: 21922
106
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags next time. It adds syntax highlighting, and preserves indentation. I've added them for you this time.

sneha ponnusamy wrote:when i submit the values.i am getting this error.


You try to connect to port 80 on your local machine. That mean there must be a service running on port 80. Your program is definitely not running one; I don't see any ServerSocket anywhere.

To create a client-server pair the usual setup is common:
- The server has a ServerSocket. It listens in a loop for new Socket connections (calling accept()). For each new Socket connection it either handles it immediately (for fast request handling) or starts a new thread to handle it (if request handling takes longer).
- The client connects to this ServerSocket using the Socket constructor you're already using.

cudn proced bcuz of this.


Please UseRealWords: "couldn't proceed because of this". And please UseAMeaningfulSubjectLine next time.
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic