Ubuntu Networking :: Interhack And Error "Can't Access() Script - Could Not Create Socket: Connection Refused"

Feb 12, 2010

I'm trying to run Interhack (spoiled variant of Nethack) for local game. Is looking through settings I saw that:

[Code]....

When I try to start it with ih_server option it gives me that error: Code: Can't access() script Could not create socket: Connection refused I think my problem is closed port: Code: nc localhost 9999 localhost [127.0.0.1] 9999 (?) : Connection refused How do I fix this?

View 2 Replies


ADVERTISEMENT

Networking :: Multiple FTP Upload Socket Error "Connection Reset By Peer: Socket Write"

Jan 31, 2010

I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error

I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?

View 1 Replies View Related

Ubuntu Networking :: Get A 'Connection Refused' Error

Apr 21, 2010

I need to browse the net more securely and bypass throttling by an infrastructure-dictator by creating a SSH Tunnel directly to my internet service provider and use it as proxy.

I tried both a dynamic and local tunnel, was a able to connect to the server and log-in just fine, but when I tried to surf I get a 'Connection refused' error.

Here's what I tried:

Code:
ssh -D 8022 user@tunnel.host -N
ssh -L 8022:tunnel.host:8080 user@tunnel.host -N
(not at the same time of course)

Then I set 127.0.0.1:8022 as proxy in browser settings. As long as the tunnel is open the browser displays a blank page with no error when I try to open a remote web page, while the terminal gives me a 'Connection refused' error.

I'm using OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 on Xubuntu Hardy.

In case anybody is wondering this is perfectly legitimate. The tunnel.host I connect to is a server set-up by my ISP specifically for this purpose.

Either of the examples above should work as others who have the same ISP reported that it works. Therefore, I suspect this is an issue with my own security settings which are slightly on the paranoid side but I can't figure out what. Stopping ufw and explicitly opening port 8022 didn't help.

View 1 Replies View Related

Networking :: Connection Refused Error 111 In TCP Client Server?

Aug 24, 2010

I am facing connection refused error 111 in TCP client server program, in android native code which in C , but if code is in JAVA it works fine, but i want to continue in C only, in manifest file i have given permission and ip, port is correct .What am doing wrong?? or is their any network setting?? am using UBUNTU 10.04and If both client server Linux pc it works fine. only if android emulator becomes client then am getting connection refused

View 1 Replies View Related

CentOS 5 Networking :: Error: Unable To Create Socket - Permission Denied

May 21, 2009

I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied

I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.

View 1 Replies View Related

Networking :: Configuring Socket Timer To Release Socket Once The Connection Is Terminated?

Jun 4, 2010

I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.

Any command, link or man-page anything will be helpful.

I browsed a lot but unable to find it.

View 1 Replies View Related

CentOS 5 Networking :: Error: Unable To Connect To Remote Host: Connection Refused, It Happens With Any Port

Feb 11, 2009

I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.

View 3 Replies View Related

Ubuntu Networking :: "Connection Refused" - Script - Access All PCs In LAN Via Ssh From Server

May 10, 2011

I need to access all PCs in our LAN via ssh from our server in order to do some maintenance. All of them have Ubuntu or Kubuntu Lucid Lynx. Some of the PCs allow this access with no problems, but most of them not. They just answer "Connection refused". I realized that these PCs don't start sshd at startup. If I type "sudo service ssh start" manually in these PCs then sshd starts and all works. But I need it to be started automatically.

I tried some workarounds to solve with no success. I always tried to run a script at startup that could start ssh. If I write a script with this single command inside (service ssh start) and execute it as root, it doesn't work! It doesn't start ssh. But if I execute the same command directly in the command line, it works. I don't understand this behaviour. Also I don't understant why it doesn't happen to ALL the computers. Some of them start ssh at startup with no problems.

View 6 Replies View Related

Ubuntu :: Cant Get Access To Telnet Console / 'connection Refused'

Mar 2, 2010

I have an application that uses a telnet console, and I have an autostart script to start it (and check that it is running).The problem is that if the program is not startet by root, or by using sudo, I cant get access to the telnet console, it just says "connection refused".The application works fine, but I cant acces its console, so I have to shut it down, and then restart it with sudo to be able to log in to it.Anyone know how to make the script start the application with enough rights?

View 1 Replies View Related

Ubuntu Networking :: Keep Getting A "Connection Refused" Error?

Apr 16, 2010

I'm trying to set up SSH on my work computer (9.10) but I keep getting a "Connection refused" error.I can connect to myself with 127.0.0.1 no problem but not through my IP.

View 8 Replies View Related

Software :: Postfix - Cannot Access Email - Connection Refused

Jul 1, 2010

so its my first time installing postfix. install is complete i think i did the conf file correct. heres the issue: i can connect send and recieve email on the localhost machine. however outside through my domain or even localy from another machine I cannot access my email. It says connection refused

View 1 Replies View Related

Ubuntu Networking :: Setting Up Bluetooth Connection Between Two Computers Throws Connection Refused (111)

Apr 3, 2011

I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.

Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).

Any clues over here? I'm using pand 4.91 and blueman.

View 3 Replies View Related

Ubuntu :: SSH Error:Connection Refused?

Mar 25, 2011

I've just completed a fresh install of Ubuntu Server (x64) on a HP Proliant N36L. During the installation I selected to install LAMP, SAMBA and SSH. To continue the installation of software on the server I wanted to connect remotely from windows PC on the same LAN. I am using PuTTY but when I try to connect I get "Error:Connection Refused". I have trawled the forums regarding the setup of putty and openssh and everything appears to be correctly configured.I have checked that the services are running on the server and that the IP address for the server is correct.The guides I have read online suggest that ssh should be correctly configured as part of the install, so why can I not connect from the same LAN?Is the firewall enabled by default during install?

View 2 Replies View Related

Programming :: Reuse Socket Fails "Address Already In Use" Or "Connection Refused"?

May 14, 2010

Problem: can't restart programs which use socket to communicate.

Symptom: Restart Listener dies "Address already in use".
Restart Caller dies "connection refused"
System: Ubuntu 10 (and 9)

[code]...

View 3 Replies View Related

Server :: ERROR:Connection Refused (111)?

May 24, 2011

ERROR:Connection refused (111)when i change the password.I have a freebsd dovecot server.

View 1 Replies View Related

Red Hat / Fedora :: TCP Client Connection Refused - Error

Dec 29, 2010

I am getting tcp client connection refused error, when trying to establish tcp client connection from redhat linux to solaris unix. Connect system call is giving connection refused error

View 3 Replies View Related

General :: Connection Refused Error With Uploading Using Ftp

Aug 11, 2011

I now have a .tar.gz that has been created during my script, and finnaly i need to upload it via ftp to my computer, but i am unable to because i keep getting the "Connection refused" error, despite the fact that all the syntax appears to be right. in a bout of frustration, i have deleted the code and now no longer have what i had written.. so could someone please let me know the syntax to upload a file to a server? I am aware that other threads have been started about this issue but I am trying to ftp from an iPhone to a computer...

View 4 Replies View Related

General :: Error - Ftp: Connect: Connection Refused

Aug 31, 2009

I Get message Connection refused when trying to connect to other computer in network. My System Ubuntu:

computer1 ip: 10.0.0.1
computer2 ip: 10.0.0.2

computer1 shell:

$ ftp
ftp> open 10.0.0.2
ftp: connect: Connection refused

View 12 Replies View Related

CentOS 5 :: Dag Repository Connection Refused Error Using Yum

Jun 7, 2011

Since last Friday I get the following error when trying to upgrade packages with yum: [URL]: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Trying other mirror." The content of dag.repo:

[Code]..

View 2 Replies View Related

Server :: Nagios - Error Message - Connection Refused

May 4, 2010

I have configured a Nagios server which is working well with all king of clients. But when I added a new windows machine to monitor, it gives a error message "connection refused". I have set everything as prior machines.

Now, I just wanted to know the process by which we can check if server is able to communicate with the client's NSclient daemon. In Linux, we simply issue "./check_nrpe -H hostname" and if ok, it gives the NRPE version which indicates the status ok.

View 3 Replies View Related

General :: Fetchmail - Connection Refused (SMTP Transaction Error)

May 21, 2010

I've used fetchmail for quite a while now and never had a problem, until (without having changed anything) today it suddenly quit working, giving me the error message:

fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from stefan%mydomain.com@mail.mydomain.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)

I googled the error message, but didn't find anything that look promising. I use ubuntu 10.4.

View 2 Replies View Related

Server :: Setup A Database Using Mysql - Always Get A Connection Refused Error

Mar 2, 2010

I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:

[Code]....

there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?

View 4 Replies View Related

Software :: Check_log Nrpe Error: Connection Refused By Host?

Jun 29, 2011

Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:

define service{
use production-logs
host_name hostname

[code]....

View 3 Replies View Related

Fedora Servers :: SFTP Connection Refused Error: Could Not Connect To Server

Dec 20, 2009

I have FileZilla installed on this machine, and OpenSSH (with an open port 22) on another machine on my home network. When I try and connect, I get: Quote: Status:Connecting to 192.168.2.3... Response:fzSftp started Command: open "alphatwo@192.168.2.3" 22 Error:Connection refused Error:Could not connect to server

Which has left me puzzled as I have an open port. Does the username have to be defined somewhere? E.g. the machine acting as my SFTP server can be logged on to locally as alphatwo so that's what I logged in as (with the correct password). Is this correct? If so, does anyone have any ideas as to how I might rectify it? I want SFTP set up so I can copy PHP files from my laptop to /var/www/html/ on another PC (across the home network).

View 4 Replies View Related

OpenSUSE Network :: Error: Cant Connect POP3 Connection Refused Port 995

Mar 18, 2011

My problem is that the Mailserver in OpenSuse 11.1 (postfix, amavisd, spamassassin, clamAV en Razor) can not recieve e-mails, outgoing is ok. The problem started when I added 2 new users to de LDAP-server connected to Postfix.Some users can login, but most of them are getting the error: cant connect POP3 connection refused port 995.

View 9 Replies View Related

Server :: Socket Connections / Socket And TCP Connection For Connecting To An External System?

Dec 7, 2010

Anyone knows the difference between a socket and TCP connection for connecting to an external system?

View 1 Replies View Related

Ubuntu Networking :: Ssh/sftp Connection Refused?

Jun 13, 2010

I'm trying to establish a connection between two laptops using sftp but am getting the following error message:

Connecting to <IP>...
ssh: connect to host <IP> port 22: Connection refused
Couldn't read packet: Connection reset by peer

ftp isn't working either. Both machines are running Ubuntu and connect to the internet through the same wifi router in case that's relevant. What could be the problem?

View 4 Replies View Related

Ubuntu Networking :: Connection Refused Through Wifi?

Jul 23, 2010

I cant connect with ssh to my workstation using my notebooks wireless lan. with cable I'm able to connect.so the funny thing is, if I first establish a connection from my workstation to my notebook (like ssh it or just ping the notebook) I'm able to create a ssh connection from my laptop to the workstation using wireless lan.scanning my workstation from the wireless lan of my notebook with

Code:
nmap -sT -p 22 ventury
says port 22 is closed

scanning it from the notebook with cable lan,it says port 22 is opened

scanning it from the wireless lan of my notebook an have sent a ping from the workstation before says port 22 is opened.ution.

I got a 64bit version of Kubuntu 10.04, up to date, installed on both, my workstation(ventury) and my notebook (defiant).the question is: Do I always have to ping my notebook first if I want to ssh from it to my workstation or is there some other solution? And why does it work fine with cable, but not with WiFi?

View 4 Replies View Related

Ubuntu Networking :: Port 22:connection Refused With SSH

Dec 21, 2010

having a port 22:connection refused problem with SSH. None of what I have read has been what I have been experiencing, so I figured I would post here. The worst that could happen is this gets completely ignored, or I am told that there is already a solution, that I missed it, and directed to it. Here is my problem:

Just learned how to ssh into my machine a few days ago. Everything has been running smoothly until I ran into a little problem: all of a sudden I can't connect anymore. I have sshd-server installed and updated. I have sshd turned on

Code:
/sbin/service sshd start
And I even ran:

Code:
/etc/init.d/sshd start
Because I was told that it would start ssh from boot. Nothing has changed from today and yesterday and I haven't been having problems with port 22 being blocked.

I have also tried to ssh into the machine by the machine itself:

Code:
ssh <IP of machine>
with the same error.

View 4 Replies View Related

OpenSUSE Network :: NFS Automount Stopped Working - System Error: Connection Refused

Jul 6, 2010

I got connecting to our NAS over NFS working perfectly. Direct NAS Reading & Writing - How? But on Saturday I found out it had stopped working. For no apparent reason, not straight after an update either I don't think. When I manually try to mount --verbose:

mount 192.168.100.14:/IHL /mnt/IHL --verbose
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Tue Jul 6 14:48:32 2010
mount.nfs: text-based options: 'addr=192.168.100.14'
mount.nfs: Unable to connect to 192.168.100.14:111, errno 111 (Connection refused)
mount.nfs: mount to NFS server '192.168.100.14:/IHL' failed: System Error: Connection refused

Corresponding fstab line that used to work just fine. 192.168.100.14:/IHL /mnt/IHL nfs auto 0 0 For now, I can drop back to Samba but this is a PITA as I can't open OpenOffice documents and write to them directly on the NAS. The fact smb://192.168.100.14/IHL works proves networking wise we're cool too. There is no firewall between this PC and the NAS, the NAS is instructed to allow my PC's LAN IP full access. OpenSuse's software firewall has been told to allow NFS Client too. Why would this setup break out of nowhere? How can I debug this best? I see nothing relevant in /var/log/messages How can I get it to work again? A hopeful reboot didn't do its usual wonders...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved