Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 41747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:13:47+00:00 2026-05-10T15:13:47+00:00

I got a call from a tester about a machine that was failing our

  • 0

I got a call from a tester about a machine that was failing our software. When I examined the problem machine, I quickly realized the problem was fairly low level: Inbound network traffic works fine. Basic outbound command like ping and ssh are working fine, but anything involving the connect() call is failing with ‘No route to host’.

For example – on this particular machine this program will fail on the connect() statement for any IP address other than 127.0.0.1:

#!/usr/bin/perl -w use strict; use Socket; my ($remote,$port, $iaddr, $paddr, $proto, $line);  $remote  = shift || 'localhost'; $port    = shift || 2345;  # random port if ($port =~ /\D/) { $port = getservbyname($port, 'tcp') } die 'No port' unless $port; $iaddr   = inet_aton($remote)           || die 'no host: $remote'; $paddr   = sockaddr_in($port, $iaddr);  $proto   = getprotobyname('tcp'); socket(SOCK, PF_INET, SOCK_STREAM, $proto)      || die 'socket: $!'; connect(SOCK, $paddr)    || die 'connect: $!';  while (defined($line = <SOCK>)) {     print $line; }  close (SOCK)        || die 'close: $!'; exit; 

Any suggestions about where this machine is broken? It’s running SUSE-10.2.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:13:48+00:00Added an answer on May 10, 2026 at 3:13 pm

    I would check firewall configuration on that machine. It is possible for iptables (I guess your SUSE has iptables firewall) to be setup to let trough only ping ICMP packets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We recently got a call from one of our clients, complaining that their site
i just got a call from Hosting company, they claimed that my application creates
I've got a Silverlight app that I want to call from either https or
All method that I can call from service return void. But I've got in
I've got an html page from where Im making this call periodically: function logon(id)
I got the fire alarm phone call, AIM messages and email today from a
I've got a call to a stored procedure, that is basically an INSERT stored
I've got a application that makes a shell call out to the HPUX resetpw
In external (Delphi-created) DLL I've got the following function that I need to call
I've got some problems parsing the response of a Last.fm API call from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.