Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Re: netcat as an http proxy server

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2004, 09:40 PM
Default Re: netcat as an http proxy server



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.


William Park
Reply With Quote
Reply

Tags
http, netcat, proxy, server

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
Forum Jump


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.