Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Sockets and Internet Protocols
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830
this week in the
Programmer Certification
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Sockets and Internet Protocols
java.net.ConnectException: Connection refused: connect
Sen Jothi
Greenhorn
Posts: 1
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When i try to connect using the ip and port number i am getting the following error
m_socket = new Socket( m_ip,m_port );
java.net.ConnectException: Connection refused: connect
Can anyone help to resolve the issue.
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Welcome to the JavaRanch.
Is there a service listening on a machine with that IP address and that port?
Is there a firewall on that machine?
[
How To Ask Questions On JavaRanch
]
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JNLPException ConnectException
java.rmi.ConnectException
A good, simple tutorial for making sockets work over the Internet.
Catalina.stop: java.net.ConnectException: Connection refused: connect
Orion ejb client
More...