tinyproxy
- To: debian-firewall@lists.debian.org
- Subject: tinyproxy
- From: Carolyn Debian <kwfang@hotmail.com>
- Date: Thu, 8 Mar 2007 22:43:53 +0100 (CET)
- Message-id: <listhandler=4&site=www.debianhelp.org&nid=5076&pid=&cid=15068&uid=2570&tid=81&2ceb772d95d8022d374b868aa529bef5@www.debianhelp.org>
- In-reply-to: <listhandler=4&site=www.debianhelp.org&nid=5076&pid=&cid=&uid=2570&tid=&4a64d913220fca4c33c140c6952688a8@www.debianhelp.org>
- References: <listhandler=4&site=www.debianhelp.org&nid=5076&pid=&cid=&uid=2570&tid=&4a64d913220fca4c33c140c6952688a8@www.debianhelp.org>
I changed to 192.168.1.1 and no difference.
Now I know where in the source code of tinyproxy the error was thrown:
if (connect(sock_fd, (struct sockaddr *) &port_info, sizeof(port_info)) < 0) {
log_message(LOG_ERR, "opensock: connect() error \"%s\".",
strerror(errno));
}
The connect() function doesn't work. The connection is refused. So how can I check if port 8888 (tinyproxy listens on it) can send out http request?
Reply to: