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.
|