Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Socket programming: Security problems?, Ping works but connect deosn't
post Apr 23 2009, 01:38 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 3
Joined: 20-April 09
Member No.: 14,412


I am trying a simple client-server example between two machines (using socket programming). When I run the client, I get the error: "No route to host".

Now, here is what I observed.

I can ssh to the server from the client, but cannot telnet.
I can ping to the server from the client but cannot traceroute. Well actually it runs but I get the error: !X which I understand means that the admin is prohibited such communication.

So does that mean that:
1) I will be able to do only secure communication beteen the two machines?
2) BSD socket API is by default unsecure?
3) What is the best secure socket API to use?

Thanks a bunch in advance.
Go to the top of the page
+Quote Post
Start new topic
post Apr 23 2009, 05:01 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

Are these PCs on the same LAN?
Are you using hostnames or IP addresses? Try IP addresses instead.
Is the firewall if running configured to accept incoming data on your desired port and protocol i.e. TCP or UDP?

Typically the telnet server is not configured to run by default.
Do your client/server apps run as expected on the same computer.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th July 2018 - 03:02 AM