What is the foreign address?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users What is the foreign address?
# 1  
Old 02-13-2013
What is the foreign address?

hi

i want to open port 9100 and the connect server could not to connect to my application

this my results of netstat tulpn


Code:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:9100          localhost:60991         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:16384         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60996         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60994         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60999         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60990         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60997         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60995         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:16385         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60993         TIME_WAIT  
tcp        0      0 192.168.10.1:3128       192.168.10.2:52407      TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60988         TIME_WAIT  
tcp        0      0 192.168.10.1:3128       192.168.10.2:52405      TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60987         TIME_WAIT  
tcp        0     48 192.168.10.1:ssh        192.168.10.2:52182      ESTABLISHED
tcp        0      0 localhost:9100          localhost:60992         TIME_WAIT  
tcp        0      0 192.168.10.1:3128       192.168.10.2:52406      TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60998         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:60989         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:61000         TIME_WAIT  
tcp        0      0 localhost:9100          localhost:16386         TIME_WAIT  
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ]         DGRAM                    2720     @/org/kernel/udev/udevd
unix  5      [ ]         DGRAM                    3732     /dev/log
unix  3      [ ]         STREAM     CONNECTED     5044     
unix  3      [ ]         STREAM     CONNECTED     5043     
unix  2      [ ]         DGRAM                    4867     
unix  2      [ ]         DGRAM                    4215     
unix  2      [ ]         DGRAM                    3751     
unix  3      [ ]         STREAM     CONNECTED     3626     
unix  3      [ ]         STREAM     CONNECTED     3625     
unix  3      [ ]         STREAM     CONNECTED     3624     
unix  3      [ ]         STREAM     CONNECTED     3623     
unix  3      [ ]         STREAM     CONNECTED     3617     
unix  3      [ ]         STREAM     CONNECTED     3616     
unix  3      [ ]         STREAM     CONNECTED     3606     
unix  3      [ ]         STREAM     CONNECTED     3605     
unix  3      [ ]         STREAM     CONNECTED     3601     
unix  3      [ ]         STREAM     CONNECTED     3600     
unix  3      [ ]         STREAM     CONNECTED     3598     
unix  3      [ ]         STREAM     CONNECTED     3597     
unix  3      [ ]         STREAM     CONNECTED     3591     
unix  3      [ ]         STREAM     CONNECTED     3590     
unix  3      [ ]         STREAM     CONNECTED     3589     
unix  3      [ ]         STREAM     CONNECTED     3588     
unix  3      [ ]         STREAM     CONNECTED     3587     
unix  3      [ ]         STREAM     CONNECTED     3586     
unix  3      [ ]         STREAM     CONNECTED     3585     
unix  3      [ ]         STREAM     CONNECTED     3584     
unix  3      [ ]         DGRAM                    2785     
unix  3      [ ]         DGRAM                    2784     
unix  3      [ ]         STREAM     CONNECTED     2715     @/com/ubuntu/upstart
unix  3      [ ]         STREAM     CONNECTED     2714   



and this of netstat -atpn |grep 9100



tcp        0      0 127.0.0.1:9100          0.0.0.0:*               LISTEN      1136/python     
tcp        0      0 127.0.0.1:9100          127.0.0.1:16471         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16467         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16482         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16472         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16473         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16478         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16469         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16483         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16466         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16481         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16477         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16479         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16470         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16468         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16474         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16476         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16480         TIME_WAIT   -               
tcp        0      0 127.0.0.1:9100          127.0.0.1:16475         TIME_WAIT   -

i want the rpc server connect properly

thanks and bye

Moderator's Comments:
Mod Comment edit by bakunin: which part of the "please use CODE-tags" in the rules, the FAQ and the thread opening display was so hard to understand? Please view this code tag video for how to use code tags when posting code and data.

Last edited by bakunin; 02-13-2013 at 10:33 AM..
# 2  
Old 02-13-2013
What do you get with
Code:
telnet localhost 9100

?
# 3  
Old 02-13-2013
i get this


Code:
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Moderator's Comments:
Mod Comment edit by bakunin: see above, please use CODE-tags!

Last edited by bakunin; 02-13-2013 at 10:34 AM..
# 4  
Old 02-13-2013
It appears you have a service listening on the localhost and loopback address at port 9100, if you want to have a client computer access this service it should be set to listen at the host machines ip address i.e. 192.168.1.100:9100 what service is this? Apache, Tomcat? Are you trying to access it on the local host or from a remote machine? Is iptables running?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

netstat local and foreign address relationship.

Hi All, Can you please help me in understanding the relationship between local and foreign address in the output of netstat -an. Output 1 ---------- 162.103.162.37.50224 162.103.162.35.9511 49640 0 49640 0 ESTABLISHED 162.103.162.37.50263 162.103.162.35.9512 49640 0... (1 Reply)
Discussion started by: Girish19
1 Replies

2. Cybersecurity

Continual knocking on port 443 from foreign IP address

Hello, I have a server in our DMZ that only has ports 80 and 443 open to the public networks. It runs webmail for our 10K employees' accounts. It's not necessary for our employees to access the server from anywhere except North America so I have blocked access from most of the world due to... (5 Replies)
Discussion started by: randomxs
5 Replies

3. Shell Programming and Scripting

Day of the week or Month in a foreign language

Hey guys, i'm a very new shell script user. I've been looking everywhere for a proper script to display the day of the week or the month, accurately, in a foreign language of my choosing. Something where i can just type in the appropriate word in a foreign language in the script and get the... (2 Replies)
Discussion started by: ibizagreg
2 Replies

4. HP-UX

Connection closed by foreign host

I am trying to connect to my HP server from remote machine. It gets connected but once credential are provided the connection is closed. adroit:/home/seo/hitendra 32 ] telnet myserv1 Trying... Connected to myserv1. Escape character is '^]'. Local flow control on Telnet TERMINAL-SPEED... (4 Replies)
Discussion started by: hiten.r.chauhan
4 Replies

5. Cybersecurity

login consol to foreign ip

every time, root (or any other user) logs into the system (Suse 9.3 Linux mail server) a connection to a foreign ip (96.124.236.183) shows up. It shows up even when I plug out the network cable and then restart the system. I don't know if this is a security hole and how to find out more about... (1 Reply)
Discussion started by: SimonSalman
1 Replies

6. Shell Programming and Scripting

regular expression foreign language

Hello all, I read somewher that regular expressions work with ASCII table so when i type grep "*" file_name it uses values from ACII dec97(a) to dec122(z), right ? But if I have file containing diacritics, lets say (ordinary Slovak language characters): marek@cepi:~$ cat diakritika ... (9 Replies)
Discussion started by: wakatana
9 Replies

7. UNIX for Advanced & Expert Users

foreign characters in flat file

Hey, Is there anyway I anks, Pocha (12 Replies)
Discussion started by: pochaman
12 Replies

8. Shell Programming and Scripting

foreign characters

I have a flat file and have foreign characters in three fields. Can somebody tell me how to get rid of these special characters? It's very urgent because without this my process is failing. Thanks in advance. Angielina (2 Replies)
Discussion started by: angelina
2 Replies

9. UNIX for Advanced & Expert Users

foreign characters

I have a flat file and have foreign characters in three fields. Can somebody tell me how to get rid of these special characters? It's very urgent because without this my process is failing. Thanks in advance. Angielina (1 Reply)
Discussion started by: angelina
1 Replies

10. UNIX for Dummies Questions & Answers

Foreign characters in bash

Hello, I'm trying to type in foreign characters (á, é, í, ñ...) from the bash when doing a Telnet to my UNIX account. So far it only allows me to type in the standard character set (up to ASCII 128). I need this to feed parameters to certains scripts and programs. Thanks! Miguel (4 Replies)
Discussion started by: czerny
4 Replies
Login or Register to Ask a Question