is the port open or not ??
hi
i want to open port 9100 and the connect server could not to connect to my application this my results of netstat tulpn 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 |
Hi,
Try telnet 127.0.0.1 9100 and tell us what you see kindly have a look at this http://www.linuxquestions.org/questi...ubuntu-451282/ thanks |
Quote:
i get this trying 127.0.0.1 connected to 127.0.0.1 escape character is `^]` and i expect there is another application try connect to it |
From what i see your port is opened. because when you do ctrl and ] you would have telnet prompt "telnet>".
if it's not opened it's either saying "trying to connect .... " or so or " Unable to connect to remote host: Connection refused" maybe you might want to see if your application is able to connect to anything at all |
i've install videocache appilcation and seems could not connect to rpc server at this port 9100
i ask if another application than videocache is try to connect to rpc server |
Quote:
Wild guess...do you have network printers? Port 9100 is typically used by network printers (been the 'standard' for HP for years...lots of other makers use it too), so CUPS or other print services may be conflicting. Would be far easier to change the port of your video app, than to change all the printers and CUPs. |
i do a :ps aux |grep python and get
proxy 664 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 665 0.0 0.1 44204 8328 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 666 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 667 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 668 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 669 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 670 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 671 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 672 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 673 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 675 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 677 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 678 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 681 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 682 0.0 0.1 44204 8328 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 686 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 687 0.0 0.1 44212 8336 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 690 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 693 0.0 0.1 44208 8332 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 698 0.0 0.1 44204 8328 ? Ssl 15:53 0:00 (python) /usr/share/videocache/videocache.py proxy 1204 0.2 0.1 72436 9104 ? Sl 15:54 0:00 python /usr/sbin/vc-scheduler -s restart proxy 1228 0.0 0.0 43872 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1229 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1230 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1231 0.1 0.0 43876 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1232 0.0 0.0 43872 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1233 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1234 0.1 0.0 43868 8084 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1235 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1236 0.1 0.0 43864 8084 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1237 0.0 0.0 43876 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1238 0.1 0.0 43868 8084 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1239 0.0 0.0 43868 8084 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1240 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1241 0.0 0.0 43876 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1242 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1243 0.1 0.0 43876 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1244 0.1 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1245 0.0 0.0 43872 8088 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1246 0.0 0.0 43876 8092 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1247 0.1 0.0 43868 8084 ? Ssl 15:54 0:00 (python) /usr/share/videocache/videocache.py proxy 1363 4.1 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1364 4.1 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1365 4.0 0.0 43548 7588 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1366 4.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1367 4.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1368 4.1 0.0 43548 7588 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1369 4.1 0.0 43544 7588 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1370 5.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1371 5.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1372 4.8 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1373 5.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1374 4.8 0.0 43552 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1375 4.8 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1376 5.0 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1377 5.0 0.0 43544 7588 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1378 4.8 0.0 43548 7588 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1379 5.0 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1380 5.0 0.0 43552 7596 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1381 5.0 0.0 43548 7592 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py proxy 1382 5.0 0.0 43544 7584 ? Ssl 16:00 0:00 (python) /usr/share/videocache/videocache.py root 1445 0.0 0.0 3348 896 pts/0 S+ 16:00 0:00 grep --color=auto python and i changed the proxy of my videocache to 1024 and ifaced the same error |
Quote:
Quote:
You have two simple choices:
|
sorry iam not prof in ubuntu
i have ubuntu with squid server and now installed videocache application is this command use to find out netstat -lnptu | grep 9100?? if it is i get this tcp 0 0 127.0.0.1:9100 0.0.0.0:* LISTEN 1235/python i don't have a network printers |
Quote:
I'm guessing you mean "proficient", and you don't have to be...we'll help you, but you DO need to provide complete details. Quote:
Quote:
|
at first i am sorry if i disturb you
iam unprofessional in ubuntu and to be serious with you i have an network with clients and i want to cache video to save bandwidth i'd installed the squid and videocache app with the same server i applied this command now and i get this proxy 1200 1 0 17:13 ? 00:00:01 python /usr/sbin/vc-scheduler -s start root 1499 1467 0 17:23 pts/0 00:00:00 grep --color=auto 1200 what is the CUPS? |
this is the videocache's application website to cache video
http://cachevideos.com/ |
Quote:
Quote:
Quote:
AGAIN:
|
Hi, as root, issue 'lsof -i:9100' (note the adjacent : & the port, no space!). Will return the process that spawned the port.
From there, use - again as root - 'lsof -p <process>'. It will give you the list of all file(handler)s involved. hth. |
1 Attachment(s)
Quote:
yeah i am sorry but i told u i am not prof in the ubuntu i use this command ps -ef | grep 1027 and i get proxy 1027 1 0 17:13 ? 00:00:01 python /usr/sbin/vc-scheduler -s start root 1499 1467 0 17:23 pts/0 00:00:00 grep --color=auto 1027 and i am absolute sure there is no printer and i'd changed the port to 1024 and after reboot i faced the same error of port 9100 with 1024 i expect there is a problem in squid.conf (note:my squid v2) because the problem had disappeared with squid3 i attached my conf please find out if there is a problem with it in the videocache application the trace.log used to detect a problem with the videocache so i checked it and get this error may be this help u to detect the problem File "/usr/lib/python2.6/httplib.py", line 776, in _send_output self.send(msg) File "/usr/lib/python2.6/httplib.py", line 735, in send self.connect() File "/usr/lib/python2.6/httplib.py", line 716, in connect self.timeout) File "/usr/lib/python2.6/socket.py", line 514, in create_connection raise error, msg error: [Errno 111] Connection refused iam sorry but the promoter of this application doesn't replay to my problem |
Quote:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 1139 proxy cwd DIR 251,0 4096 28708655 /var/spool/videocache/youporn python 1139 proxy rtd DIR 251,0 4096 2 / python 1139 proxy txt REG 251,0 2292496 28316810 /usr/bin/python2.6 python 1139 proxy mem REG 251,0 2034236 28317017 /usr/lib/libmysqlclient_r.so.16.0.0 python 1139 proxy mem REG 251,0 71432 22806546 /lib/tls/i686/cmov/libresolv-2.11.1.so python 1139 proxy mem REG 251,0 22036 22806551 /lib/tls/i686/cmov/libnss_dns-2.11.1.so python 1139 proxy mem REG 251,0 120368 22806795 /lib/libgcc_s.so.1 python 1139 proxy mem REG 251,0 9632 395182 /usr/lib/pyshared/python2.6/netifaces.so python 1139 proxy mem REG 251,0 108196 28318727 /usr/lib/python2.6/lib-dynload/_ctypes.so python 1139 proxy mem REG 251,0 197540 28318730 /usr/lib/python2.6/lib-dynload/pyexpat.so python 1139 proxy mem REG 251,0 38360 22806550 /lib/tls/i686/cmov/libcrypt-2.11.1.so python 1139 proxy mem REG 251,0 117364 28449183 /usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.4c1-py2.6-linux-i686.egg/_mysql.so python 1139 proxy mem REG 251,0 71988 28320571 /usr/lib/python2.6/lib-dynload/datetime.so python 1139 proxy mem REG 251,0 42572 22806557 /lib/tls/i686/cmov/libnss_files-2.11.1.so python 1139 proxy mem REG 251,0 34408 22806540 /lib/tls/i686/cmov/libnss_nis-2.11.1.so python 1139 proxy mem REG 251,0 79676 22806545 /lib/tls/i686/cmov/libnsl-2.11.1.so python 1139 proxy mem REG 251,0 30496 22806559 /lib/tls/i686/cmov/libnss_compat-2.11.1.so python 1139 proxy mem REG 251,0 1430084 22806564 /lib/tls/i686/cmov/libc-2.11.1.so python 1139 proxy mem REG 251,0 149392 22806558 /lib/tls/i686/cmov/libm-2.11.1.so python 1139 proxy mem REG 251,0 79512 22806774 /lib/libz.so.1.2.3.3 python 1139 proxy mem REG 251,0 1364764 22806672 /lib/i686/cmov/libcrypto.so.0.9.8 python 1139 proxy mem REG 251,0 294672 22806670 /lib/i686/cmov/libssl.so.0.9.8 python 1139 proxy mem REG 251,0 9748 22806563 /lib/tls/i686/cmov/libutil-2.11.1.so python 1139 proxy mem REG 251,0 9736 22806556 /lib/tls/i686/cmov/libdl-2.11.1.so python 1139 proxy mem REG 251,0 117086 22806554 /lib/tls/i686/cmov/libpthread-2.11.1.so python 1139 proxy mem REG 251,0 16752 28323397 /usr/lib/python2.6/lib-dynload/_heapq.so python 1139 proxy mem REG 251,0 113964 22810283 /lib/ld-2.11.1.so python 1139 proxy 0r CHR 1,3 0t0 924 /dev/null python 1139 proxy 1u CHR 1,3 0t0 924 /dev/null python 1139 proxy 2u CHR 1,3 0t0 924 /dev/null python 1139 proxy 3r CHR 1,3 0t0 924 /dev/null python 1139 proxy 4u CHR 1,3 0t0 924 /dev/null python 1139 proxy 5u CHR 1,3 0t0 924 /dev/null python 1139 proxy 6w REG 251,0 1465771 28580025 /var/log/videocache/videocache.log python 1139 proxy 7w REG 251,0 539715 28580028 /var/log/videocache/scheduler.log python 1139 proxy 8w REG 251,0 1704431 28580034 /var/log/videocache/trace.log python 1139 proxy 9w REG 251,0 0 28580037 /var/log/videocache/cleaner.log python 1139 proxy 10u IPv4 5041 0t0 TCP localhost:9100 (LISTEN) python 1139 proxy 13r REG 251,0 9799233 28708481 /var/log/squid/store.log thanks for replay |
All times are GMT -5. The time now is 12:01 AM. |