Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: netcat as an http proxy server

Reply
Thread Tools Display Modes

Re: netcat as an http proxy server

 
 
William Park
Guest
Posts: n/a

 
      07-05-2004, 08:40 PM
noone <(E-Mail Removed)> wrote:
> Hi,
>
> I want to use netcat as an http proxy. So I type the command
>
> nc -l -p 1234 localhost 19080
>
> Then in another window I type
>
> nc localhost 1234
>
> But then, immediately, the server in the first window stops with the
> following error:
>
> invalid connection to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 32805
>
> What's wrong?
>
> Thanks for your help,
>
> David.


You're listening for incoming connection from 'localhost:19080', but the
connection that arrived on port 1234 came from port 32805 not port
19080.

--
William Park, Open Geometry Consulting, <(E-Mail Removed)>
Q: What do you use to remove bugs on your Windows? A: Windex.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any http proxy to accelerate http GET method? Trent.Zhou@gmail.com Linux Networking 7 11-23-2007 05:16 AM
how to do HTTP Prefetch for proxy server sandeep Linux Networking 1 06-14-2006 04:30 PM
help with netcat idea - nc as a proxy (Almost) mrharrison@gmail.com Linux Networking 0 12-15-2005 05:02 AM
HELP: Transparent HTTP proxy through NAT Alex Linux Networking 1 08-18-2004 04:27 PM
RPC over HTTP Proxy Gary Sicard Windows Networking 0 12-18-2003 02:12 AM



1 2 3 4 5 6 7 8 9 10 11