prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

connect ECONNREFUSE or ./kiwi -f info: Error listening #960

Closed asanli33 closed 4 years ago

asanli33 commented 4 years ago

Hello. I want to ask this question with regret. I've been dealing for a week but it didn't. please but please help.

http://yusufkayman.online:7778/

(connect ECONNREFUSED 213.238.181.251:6697)

or

./kiwi -f info: Error listening on 213.238.181.251:80: EADDRINUSE


var conf = {};

// Run the Kiwi server under a different user/group conf.user = ""; conf.group = "";

// Log file location conf.log = "kiwi.log";

/*

// Do not edit this line! conf.servers = [];

// Example server block conf.servers.push({ port: 7778, address: "213.238.181.251" });

// Example SSL server block //conf.servers.push({ // port: 7777, // address: "0.0.0.0", // // ssl: true, // ssl_key: "server.key", // ssl_cert: "cert.pem" //});

// Network interface for outgoing connections conf.outgoing_address = { IPv4: '0.0.0.0' //IPv6: '::' };

// Do we want to enable the built in Identd server? conf.identd = { enabled: false, port: 113, address: "0.0.0.0" };

// Where the client files are conf.public_http = "client/";

// Transports available to the client. // Behind an Apache reverse proxy? Uncomment the below - Apache does not support websockets! //conf.client_transports = ['polling'];

// Max connections per connection. 0 to disable conf.max_client_conns = 5;

// Max connections per server. 0 to disable. // Setting is ignored if: // - There is a WEBIRC password configured for the server, // - Kiwi is configured to send the client's ip as a username for the server, or // - Kiwi is running in restricted server mode. conf.max_server_conns = 0;

/*

/*

/*

/*

/*

/*

// Directory to find the server modules conf.module_dir = "../server_modules/";

// Which modules to load conf.modules = [ // Open a TCP port to control the Kiwi server (default port 8888) // "control",

// Automatically reload CSS files when a theme changes
// "client_file_watcher",

];

// WebIRC password enabled for this server conf.webirc_pass = "";

// Use the above OR the below webirc_pass option

// Multiple WebIRC passwords may be used for multiple servers //conf.webirc_pass = { // "irc.network.com": "configured_webirc_password", // "127.0.0.1": "foobar" //};

// Whether to verify IRC servers' SSL certificates against built-in well-known certificate authorities conf.reject_unauthorised_certificates = false;

/*

// Whitelisted HTTP proxies in CIDR format conf.http_proxies = ["127.0.0.1/32"];

// Header that contains the real-ip from the HTTP proxy conf.http_proxy_ip_header = "x-forwarded-for"; // Base HTTP path to the KIWI IRC client (eg. /kiwi) conf.http_base_path = "/kiwi";

/*

// Enable proxying outbound connections through a SOCKS proxy conf.socks_proxy.enabled = false;

// Proxy all outbound connections through a SOCKS proxy conf.socks_proxy.all = false;

// Use SOCKS proxy for these hosts only (if conf.sock_proxy.all === false) conf.socks_proxy.proxy_hosts = [ "irc.example.com" ];

// Host and port for the SOCKS proxy conf.socks_proxy.address = '127.0.0.1'; conf.socks_proxy.port = 1080;

// Username and password for the SOCKS proxy // Set user to null to disable password authentication conf.socks_proxy.user = null; conf.socks_proxy.pass = null;

// Default settings for the client. These may be changed in the browser conf.client = { server: 'irc.yusufkayman.online', port: 6697, ssl: true, channel: '#Sohbet', channelkey: '', nick: 'kiwi?', settings: { theme: 'relaxed', text_theme: 'default', channel_list_style: 'tabs', scrollback: 250, show_joins_parts: true, show_timestamps: false, use_24_hour_timestamps: true, mute_sounds: false, show_emoticons: true, ignore_new_queries: false, count_all_activity: false, show_autocomplete_slideout: true, locale: null // null = use the browser locale settings }, window_title: 'Kiwi IRC' };

// List of themes available for the user to choose from conf.client_themes = [ 'relaxed', 'mini', 'cli', 'basic' ];

// If set, the client may only connect to this 1 IRC server //conf.restrict_server = "irc.kiwiirc.com"; //conf.restrict_server_port = 6667; //conf.restrict_server_ssl = false; //conf.restrict_server_password = "";

/*

/*

prawnsalad commented 4 years ago

(connect ECONNREFUSED 213.238.181.251:6697)

This means that kiwiirc could not connect to that IP and port.

info: Error listening on 213.238.181.251:80: EADDRINUSE

This means that there is something else already listening on this IP and port. Maybe apache or nginx.

Also to note, this version of kiwiirc is obsolete and is no longer supported. You will want to look at https://github.com/kiwiirc/kiwiirc

asanli33 commented 4 years ago

(connect ECONNREFUSED 213.238.181.251:6697)

This means that kiwiirc could not connect to that IP and port.

info: Error listening on 213.238.181.251:80: EADDRINUSE

This means that there is something else already listening on this IP and port. Maybe apache or nginx.

Also to note, this version of kiwiirc is obsolete and is no longer supported. You will want to look at https://github.com/kiwiirc/kiwiirc

thanks we have been working for your article for 1 week. how can we do a new kiwiirc installation? Where are you step by step. get ... codes setup. I would be very glad if you help.

prawnsalad commented 4 years ago

You can read the steps via the readme file, https://github.com/kiwiirc/kiwiirc#installing-kiwi-irc