Coder Social home page Coder Social logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
Issue is the same on 10.5.4 OSX

Original comment by [email protected] on 2 Jul 2008 at 4:25

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
A temporary workaround is to use the -r option. This will expose ratproxy to 
external
systems, so just be careful. 

Original comment by [email protected] on 2 Jul 2008 at 10:51

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
This is an unusual behavior; do you have loopback interface up on the machine, 
and
configured to use 127.0.0.1?

If not, this is a system configuration error; try executing 'ifconfig lo 
127.0.0.1
netmask 255.0.0.0 up' as root.

Original comment by [email protected] on 3 Jul 2008 at 4:37

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
Yep, lo0 is configured and working, nothing else is listening, tried with a 
variety of ports.

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
    inet 127.0.0.1 netmask 0xff000000 
    inet6 ::1 prefixlen 128 
    inet6 fd39:ae47:d465:4a13:other:crap:from:v6 prefixlen 128 



Original comment by [email protected] on 3 Jul 2008 at 5:57

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
[Also, you almost certainly do not want to -d http://site.com; -d site.com is 
the
correct syntax]

Original comment by [email protected] on 3 Jul 2008 at 5:57

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
Ok, got it, I think. Can you try making the following change to ratproxy.c, 
around
line 1589:

  struct sockaddr_in saddr;

...to:

  static struct sockaddr_in saddr;

...and recompiling (make clean all)?

(According to some reports I managed to dig up, MacOS X may not always ignore
sin_zero data on INADDR_LOOPBACK bind attempts, so this is my best guess).

Original comment by [email protected] on 3 Jul 2008 at 6:06

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
That did it, confirmed, working on 10.5.4 - thanks!

Original comment by [email protected] on 3 Jul 2008 at 6:18

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
Cool, I'm gonna prepare a new tarball shortly.

Original comment by [email protected] on 3 Jul 2008 at 6:22

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
This should be fixed in 1.51 beta, now up.

Original comment by [email protected] on 3 Jul 2008 at 6:32

  • Changed state: Fixed

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
That worked for me as well on 10.4.11

Original comment by raccettu on 3 Jul 2008 at 12:37

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
[test@nfap-fc6 ratproxy]$ ratproxy -w ratproxy.log -v 
/home/test/proxy/ratproxy/ -d 
"http://bvijayanand:8080" -xtifkgmjscael2XCr
ratproxy version 1.51-beta by <[email protected]>
SYSTEM ERROR : cannot bind to port [listen_loop(), ratproxy.c:1609]
     Message : Address already in use

What can be done ? stuck up with this ?

am using FEDORA, ratproxy build  ratproxy-1.51.tar.gz



Original comment by [email protected] on 11 May 2010 at 11:13

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 23, 2024
Encountering this in version 1.56-beta. I'm using Fedora 19

[root@localhost ratproxy]# ratproxy -w ratproxy.log -v /usr/local/ratproxy/ -d 
englishcentral.com
ratproxy version 1.56-beta by <[email protected]>
SYSTEM ERROR : cannot bind to port [listen_loop(), ratproxy.c:1618]
     Message : Address already in use

Original comment by [email protected] on 5 Feb 2015 at 9:03

from ratproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.