Giter VIP home page Giter VIP logo

natman's People

Contributors

indutny avatar marak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

natman's Issues

Hangs on attempting to connect

Hangs on attempting to connect

Nathaniels-iMac:moviebox-web Nathaniel$ sudo natman open 1337
info:    Creating NAT...
warn:    Using gateway: 172.26.0.254
help:    You can manually specify a gateway with -g argument
warn:    Attempting to connect... 

Error: bind EADDRINUSE

I get an error that the address is in use. I can't see how it would be on my local machine, though.

/usr/local/share/npm/bin/natman -> /usr/local/share/npm/lib/node_modules/natman/bin/natman
[email protected] /usr/local/share/npm/lib/node_modules/natman
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
╭─@Jasons-MacBook-Air.local ~/node_modules ‹ruby-1.9.3› 
╰─ natman open 22 8000
info:    Creating NAT...
warn:    Using gateway: 10.0.1.1
help:    You can manually specify a gateway with -g argument
warn:    Attempting to connect... 

events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: bind EADDRINUSE
    at errnoException (dgram.js:356:11)
    at Socket.bind (dgram.js:123:15)
    at lookup (dgram.js:49:12)
    at UDP.lookup4 [as lookup] (dgram.js:59:10)
    at Socket.bind (dgram.js:120:16)
    at new Client (/usr/local/share/npm/lib/node_modules/natman/node_modules/nat-pmp/index.js:78:15)
    at Object.exports.connect (/usr/local/share/npm/lib/node_modules/natman/node_modules/nat-pmp/index.js:55:10)
    at new exports.Nat (/usr/local/share/npm/lib/node_modules/natman/lib/natman.js:12:17)
    at Object.natman.createNat (/usr/local/share/npm/lib/node_modules/natman/lib/natman.js:24:13)
    at app.commands.open (/usr/local/share/npm/lib/node_modules/natman/bin/natman:116:19)
╭─@Jasons-MacBook-Air.local ~/node_modules ‹ruby-1.9.3› 
╰─ natman open 22 9987                                                                                                                      1 ↵
info:    Creating NAT...
warn:    Using gateway: 10.0.1.1
help:    You can manually specify a gateway with -g argument
warn:    Attempting to connect... 

events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: bind EADDRINUSE
    at errnoException (dgram.js:356:11)
    at Socket.bind (dgram.js:123:15)
    at lookup (dgram.js:49:12)
    at UDP.lookup4 [as lookup] (dgram.js:59:10)
    at Socket.bind (dgram.js:120:16)
    at new Client (/usr/local/share/npm/lib/node_modules/natman/node_modules/nat-pmp/index.js:78:15)
    at Object.exports.connect (/usr/local/share/npm/lib/node_modules/natman/node_modules/nat-pmp/index.js:55:10)
    at new exports.Nat (/usr/local/share/npm/lib/node_modules/natman/lib/natman.js:12:17)
    at Object.natman.createNat (/usr/local/share/npm/lib/node_modules/natman/lib/natman.js:24:13)
    at app.commands.open (/usr/local/share/npm/lib/node_modules/natman/bin/natman:116:19)
╭─@Jasons-MacBook-Air.local ~/node_modules ‹ruby-1.9.3› 
╰─ lsof -i | grep LISTEN                                                                                                                    1 ↵
postgres    272 jasongarber    5u  IPv6 0x4779b6c855439443      0t0  TCP localhost:postgresql (LISTEN)
postgres    272 jasongarber    6u  IPv4 0x4779b6c85802bbb3      0t0  TCP localhost:postgresql (LISTEN)
postgres    272 jasongarber    7u  IPv6 0x4779b6c8581f0fe3      0t0  TCP localhost:postgresql (LISTEN)
mongod      274 jasongarber    6u  IPv4 0x4779b6c85446279b      0t0  TCP localhost:28017 (LISTEN)
mongod      274 jasongarber    7u  IPv4 0x4779b6c85802dfcb      0t0  TCP localhost:27017 (LISTEN)
memcached   275 jasongarber   18u  IPv6 0x4779b6c855439823      0t0  TCP localhost:11211 (LISTEN)
memcached   275 jasongarber   19u  IPv4 0x4779b6c854462ed3      0t0  TCP localhost:11211 (LISTEN)
node        276 jasongarber    8u  IPv4 0x4779b6c858a7da23      0t0  TCP *:20559 (LISTEN)
SpotifyWe   277 jasongarber    6u  IPv4 0x4779b6c85d3d515b      0t0  TCP localhost:4370 (LISTEN)
SpotifyWe   277 jasongarber    7u  IPv4 0x4779b6c85e4dd79b      0t0  TCP localhost:4380 (LISTEN)
1Password   381 jasongarber    6u  IPv4 0x4779b6c85cd9ca23      0t0  TCP localhost:6258 (LISTEN)
1Password   381 jasongarber    7u  IPv6 0x4779b6c8581f0443      0t0  TCP localhost:6258 (LISTEN)
mysqld      388 jasongarber   12u  IPv6 0x4779b6c8581f0c03      0t0  TCP *:mysql (LISTEN)
Growl       401 jasongarber    4u  IPv4 0x4779b6c85802ad43      0t0  TCP localhost:23053 (LISTEN)
Growl       401 jasongarber    5u  IPv6 0x4779b6c8581f0823      0t0  TCP localhost:23053 (LISTEN)

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.