Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Unable to connect to a server from our AIX server via FTP Post 303044392 by Bruno2020 on Thursday 20th of February 2020 08:01:10 AM
Old 02-20-2020
Code:
# ping -c 5 172.16.80.80
PING 172.16.80.80: (172.16.80.80): 56 data bytes
64 bytes from 172.16.80.80: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 172.16.80.80: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 172.16.80.80: icmp_seq=2 ttl=255 time=0 ms
64 bytes from 172.16.80.80: icmp_seq=3 ttl=255 time=0 ms
64 bytes from 172.16.80.80: icmp_seq=4 ttl=255 time=0 ms

--- 172.16.80.80 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

Code:
# ping -c 10 127.0.0.1
PING 127.0.0.1: (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=255 time=0 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=255 time=0 ms

--- 127.0.0.1 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
#


Code:
# ping -c 5 172.16.80.85
PING 172.16.80.85: (172.16.80.85): 56 data bytes
64 bytes from 172.16.80.85: icmp_seq=0 ttl=128 time=0 ms
64 bytes from 172.16.80.85: icmp_seq=1 ttl=128 time=0 ms
64 bytes from 172.16.80.85: icmp_seq=2 ttl=128 time=0 ms
64 bytes from 172.16.80.85: icmp_seq=3 ttl=128 time=0 ms
64 bytes from 172.16.80.85: icmp_seq=4 ttl=128 time=0 ms

--- 172.16.80.85 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
#

--- Post updated at 02:01 PM ---

Can you tell me how to open port 20? Do i need to modify anything in the /etc/services file ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp script not able to connect to ftp server.

I have the following ftp script to get files from a remote location. However, on running the script I find that I am not even able to connect to ftp server. I am able to connect to ftp server using other GUI ftp tools like WS_FTP using the same IP. IP used here is a dummy IP. What can go... (3 Replies)
Discussion started by: gram77
3 Replies

2. AIX

Unable to connect to AIX server through xmanager

Hi, I have xmanager installed on my windows PC. But I am not able to connect to AIX server. It's giving the error as follows: The X11 forwarding request was rejected. Graphics mode is not coming up in AIX server. Please help as I have to install oracle patchset urgently. (1 Reply)
Discussion started by: dwiravi
1 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. UNIX for Advanced & Expert Users

Unable to use FTP command to connect from one server to another

Hi, I have two unix servers A and B. from A i am trying to use the ftp command to connect to B but I am getting the "ftp: connect: A remote host refused an attempted connect operation." I checked the following things : 1.) Unix Server details for A and B after running the command uname -a... (3 Replies)
Discussion started by: mick_000
3 Replies

5. Red Hat

unable to connect remote server using ssh

hi all i am unable to connect remote server using ssh but i am able to ping the server ssh service is running. (5 Replies)
Discussion started by: nikhil kasar
5 Replies

6. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

7. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

8. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

9. Solaris

Unable to connect sun server.

Hi, I am unable to connect sun server, server model is sun fire v440 on server 2 ports are there. serial management, and network management. I would like to know how to connect serial port if I dont have com port on my system? and on Network Management no ip address is configured. ... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

10. Shell Programming and Scripting

Not able to connect to new FTP server

Hi All, We have done new FTB setup. I am not able to to connect to this new target server. Here is the new setup to send files to the FTB : - Login : FTB-TAN-DEV-SAP - Protocol : SFTP - Port : 54322 - Hostname : ftb-dev.apj.hp - Env : DEV - Target ID : 3225 I tried connecting to the... (5 Replies)
Discussion started by: ROCK_PLSQL
5 Replies
ping(1M)																  ping(1M)

NAME
ping - send ICMP Echo Request packets to network host SYNOPSIS
address-family] address] interval] ttl] host count timeout]] address-family] address] interval] ttl] host packet-size count timeout]] DESCRIPTION
The command sends ICMP Echo Request (ECHO_REQUEST) packets to the host once per second. Each packet that is echoed back via an ICMP Echo Response packet is written to the standard output, including round-trip time. ICMP Echo Request datagrams ("pings") have an IP and ICMP header, followed by a (see gettimeofday(2)) and an arbitrary number of "pad" bytes used to fill out the packet. The default datagram length is 64 bytes, but this can be changed by using the packet-size option. Options The following options and parameters are recognized by If host is a multicast address, send multicast datagrams from the interface with the local IP address specified by address in "dot" notation (see inet(3N)). If the option is not specified, multicast datagrams are sent from the default inter- face, which is determined by the route configuration. If host is not a multicast address, the option is ignored. Insert an IP Record Route option in outgoing packets, summarizing routes taken when the command terminates. It may not be possible to get the round-trip path if some hosts on the route taken do not implement the IP Record Route option. A maximum of 9 Internet addresses can be recorded due to the maximum length of the IP option area. The new Path MTU information is displayed when a ICMP message is received from a gateway. The option must be used in conjunction with a large packetsize and with the option. Bypass the normal routing tables and send directly to a host on an attached network. If the host is not on a directly-connected network, an error is returned. This option can be used to ping the local system through an interface that has no route through it, such as, after the inter- face was dropped by (see gated(1M)). If host is a multicast address, set the time-to-live field in the multicast datagram to ttl. This controls the scope of the multicast datagrams by specifying the maximum number of external systems through which the datagram can be for- warded. If ttl is zero, the datagram is restricted to the local system. If ttl is one, the datagram is restricted to systems that have an interface on the network directly connected to the interface specified by the option. If ttl is two, the datagram can be forwarded through one multicast router at the most; and so forth. zero to 255. The default value is 1. This option specifies the interval in seconds, between each packet to be transmitted. The default interval is 1 second. Verbose output. Show ICMP packets other than Echo Responses that are received. The address-family determines whether the host is an IPv4 or IPv6 host. The address families currently supported are for IPv4 addresses and for IPv6 addresses. host Destination to which the ICMP Echo Requests are sent. host can be a hostname or an IPv4 or IPv6 Internet address. All symbolic names specified for host are looked up by using (see gethostent(3N)) for IPv4, and (see getaddrinfo(3N)) for IPv6. If host is an Internet address, it must be in "dot" notation (see inet(3N)) for IPv4, and in "colon" notation (see inet6(3N)) for IPv6. If the address-family is specified, and host is an Internet address, the address family of the Internet address must be the same as that specified in the address-family option. If the address-family is not specified, and host is a symbolic name, an attempt will be made to resolve host into an IPv4 address first. If that fails, a second attempt will be made to resolve host into an IPv6 address. The ping command does not accept IPv4-mapped IPv6 addresses. To ping an IPv4 node, an IPv4 address should be used. IPv4-mapped IPv6 addresses are used to address IPv4-only nodes from an IPv6 node in a socket program only. IPv4-mapped IPv6 addresses are always converted to an IPv4 address before they are used in packets sent over the network. If a system does not respond as expected, the route might be configured incorrectly on the local or remote system or on an intermediate gateway, or there might be some other network failure. Normally, host is the address assigned to a local or remote network interface. (inet only) If host is a broadcast address, all systems that receive the broadcast should respond. Normally, these are only systems that have a network interface on the same network as the local interface sending the ICMP Echo Request. If host is a multicast address, only systems that have joined the multicast group should respond. These may be distant systems if the option is specified, and there is a multicast router on the network directly connected to the interface specified by the option. packet-size The size of the transmitted packet, in bytes. By default (when packet-size is not specified), the size of transmitted packets is 64 bytes. The minimum value allowed for packet-size is 8 bytes, and the maximum value is 65500 bytes. If packet-size is smaller than 16 bytes, there is not enough room for timing information. In that case, the round-trip times are not displayed. The number of packets will transmit before terminating. The is not needed if also specifying packet-size. Range: zero to 2147483647. The default is zero, in which case sends packets until interrupted. Override the default timeout value (10 seconds) which uses to timeout (in seconds) when a host or network is unreachable. This option is valid only with the option or when count is specified. The option should not be used with count equal to 0. The option is not effective for reachable hosts or networks. Using ping for Fault Isolation When using for fault isolation, first specify a local address for host to verify that the local network interface is working correctly. Then specify host and gateway addresses further and further away to determine the point of failure. sends one datagram per second, and it normally writes one line of output for every ICMP Echo Response that is received. No output is produced if there are no responses. If an optional count is given, only the specified number of requests is sent. Round-trip times and packet loss statistics are computed. When all responses have been received or the command times out (if the count option is specified), or if the command is terminated with a a brief summary is displayed. This command is intended for use in testing, managing and measuring network performance. It should be used primarily to isolate network failures. Because of the load it could impose on the network, it is considered discourteous to use unnecessarily during normal operations or from automated scripts. RETURN VALUE
exits with one of the following values: On success. On failure such as unknown host, illegal packet size, etc. On a unreachable host or network. AUTHOR
was developed in the Public Domain. FILES
SEE ALSO
getaddrinfo(3N), gethostent(3N), inet(3N), inet6(3N). ping(1M)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy