Ubuntu Servers :: Why Can't Get Netcat To Work Even On Localhost

Oct 22, 2010

OK here's what I'm doing:

On terminal 1, I enter:

$ nc6 -vlp 5000
nc6: listening on 0.0.0.0 5000 ...

On terminal 2, I enter:

$ nc6 -v localhost 5000
nc6: ygt-asfandq (127.0.0.1) 5000 [5000] open

Now, as SOON as I make the connection on terminal 2, both netcats immediately quit back to the command prompt. The return code for both is 0.

I do not have ANYTHING in my firewall (I checked with sudo iptables -v -L)

I have attached a wireshark trace of the conversation..

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Lamp-Server: Can't Get Localhost To Work Properly?

Dec 23, 2010

I have Ubuntu 10.10 and i installed the lamp-server by typing:

Code:
sudo apt-get install lamp-server^
everything seemed to work fine.

[code]....

View 9 Replies View Related

Ubuntu Networking :: Netcat Doesn't Seem To Work

Jul 27, 2010

I've tried to use netcat in the past and assumed it was my stupidity that was preventing it from working... but this is getting ridiculous. I'll execute nc -l 3333 on a server at 192.168.0.105 (after opening it on the firewall of course) then I run nc 192.168.0.105 3333 on my laptop (from 192.168.0.101). and nothing happens... i start typing and nothing comes up on the terminal.

I run nc -z 192.168.0.105 80 which should ideally do a port scan of port 80 on that server (of which I'm running a web server that clearly works) but it doesnt even give me any feedback. Nothing happens. Now when I use the verbose flag i see that I am indeed connecting to the specified port on the server successfully (so the port scan one is a success but only with the verbose flag... which shouldnt be the case I believe). But still once I have the server listening and the laptop connected... I type in both windows and nothing happens...

View 1 Replies View Related

Ubuntu Servers :: Port 21 Reported Open By Nmap And Netcat, But Blocked By Iptables?

Oct 11, 2010

Strange issue here when trying to verify firewall on Server 8.04. No ftp service running at all on server, but both nmap and netcat report port 21 as being open, even though it isn't.I am 100% sure that port 21 is not actually accessible and iptables rules are fine. Trying to connect to the port fails, yet nmap and netcat seem to report a "false positive"?Have also checked on a number of other servers I'm running, and this "false positive" seems to apply to all of them.

View 1 Replies View Related

Ubuntu Servers :: Telnet Localhost 110 Says Trying ::1?

Aug 14, 2010

I am trying to set up postfix on my ubuntu server.When I try to login to the pop accounts through telnet

Code:
user@ubuntu1:/$ telnet localhost 110
Trying ::1...

[code]....

View 3 Replies View Related

Ubuntu Servers :: PHP IRC Bot, Not Connecting To Localhost?

Jun 3, 2011

For some rather odd reason, my IRC bot wont connect to the local irc server, but it will connect to IRC.FREENODE.NET, I have no idea why...

PHP Code:
<?php/** PHPIRC Class Simple IRC Bot * * @author Ferdinand E. Silva 

[code]...

View 1 Replies View Related

Ubuntu Servers :: Bind Phpmyadmin To Localhost Only?

Mar 18, 2010

Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d

phpmyadmin.conf -> ../../phpmyadmin/apache.conf

I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.

View 2 Replies View Related

Ubuntu Servers :: No Frontpage Is Displayed At Localhost?

Sep 6, 2010

Instead of XAMPP or LAMP, I installed a local web server to my Ubuntu 10.04. Apache and phpmyadmin works well.

I copied the files of my Joomla website to /var/www folder. When I go to administrator panel, it works. But when I type in the browser "http://localhost/[folder_name], a blank page appears and nothing else.

View 2 Replies View Related

Ubuntu Installation :: Updated To 11.04 - Localhost:631 (CUPS) Don't Work?

May 2, 2011

I just upgraded to ubuntu 11.04 - now localhost:631 (CUPS) doesn't work anymore. However, I can still print. When I try to reload on localhost:631 I get: "Unable to connect - Firefox can't establish a connection to the server at localhost:631."

This is really really annoying. Please help. I've tried to google a lot, but I cannot see what's wrong. I've tried to completely re-install all cups-packages with synaptic, but that didn't work. Right now I think cups is running: $ status cups cups start/running, process 899 Worst thing is that previously today,

View 7 Replies View Related

Ubuntu Servers :: Mysql Only Allowing Connections From Localhost

May 11, 2010

Howcome mysql by default is only allowing connections from localhost? I want to access it remotely from another account (not root).

View 1 Replies View Related

Ubuntu Servers :: Firefox Can't Connect To Localhost But Chromium Can

Jul 28, 2010

After spending what seems like an eternity trying to learn how to host a couple of webpages on my laptop for no better reason than to practice creating them without paying for a server. .for the time being, I kept getting the usual errors (stuff I have seen lots of tutorials on) and this time kept getting

"The connection was refused when attempting to contact localhost"

Just by random chance I happened to open up Chromium for one of my attempts and low and behold, I get the much awaited

Quote:

It works! This is the default web page for this server.The web server software is running but no content has been added, yet. I can even login to phpMyAdmin from Chromium. So what's going on with Firefox? Doesn't work in Seamonkey either. Using 10.04

View 7 Replies View Related

Ubuntu Servers :: Setting Up A Localhost DaviCal Server ?

Aug 12, 2010

Am having trouble setting up a localhost DaviCal server. I've followed the directions here: [url]

And everything seems to be working, but when I go to: [url]

I get the "Not Found" page. How do I tweak this to use it locally from my computer? Have searched and tried to follow various tutorials, but no luck.

What I'm trying to do is setup a CalDav server locally on my computer so I can interface Thunderbird with it. The reason being then I can sync my Android phone with the CalDav server on my computer, thus syncing my Thunderbird calendar with it. Android is great, but currently the only ways to sync your calendar is to go through google's servers (not interested) or use the new CalDav sync software from the market... which is what I'm trying to do.

View 1 Replies View Related

Ubuntu Servers :: 10.04 Not Liking Localhost - 402 Forbidden Error

Mar 3, 2011

I am still a newbie at Linux, but have managed to get about 6 different Kubuntu systems up and all running a localhost test web server. I always start out with a server .iso and after installing I add a kubuntu desktop GUI. I have an old laptop that was running 8.04 server w/xubuntu desktop gui and it was running my test web pages through localhost. I got a wild hair and thought it was about time to upgrade to 10.04 server. I always do a complete install and this time I tried lubuntu desktop GUI. I really like lubuntu but for some reason can not get localhost to run. I get a 402 forbidden error. same error with 127.0.0.1 Here is what I get when I run this command

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Correct Localhost Path For Running Php FTP Script

Feb 16, 2010

how to access a FTP server with php. I've written a script from a tutorial but I'm getting errors with the ftp_get function.

PHP Code:

[code].....

Warning: ftp_get() [function.ftp-get]: Error opening /var/www/download.txt/ in /var/www/gwr/connect.php on line 11

I'm having trouble with the ftp_get function and I believe the problem is with the local server path. In this case var/www/download.txt I've also used a folder in that directory called download in the place of the .txt file and it gives the same errors. Is var/www/ the correct path to tell php where to download the files to? I've experimented with the files permission and nothing has worked. I'm running a standard ubuntu desktop install, Karmic Koala.

View 3 Replies View Related

Ubuntu Servers :: Firefox Can't Open Php File From Apache2 On Localhost

Mar 31, 2010

I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...

I now get the error as below:

My userdir.conf is like this:

<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>

[Code]....

and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?

View 9 Replies View Related

Ubuntu Servers :: Apache2: Localhost Responds Only When Connected To Internet?

May 12, 2010

I am on Ubuntu 10.04 LTS. Installed LAMP yesterday using:

Code:
sudo tasksel install lamp-server
Tested Apache, PHP, MySQL then, all worked fine.

[code]....

View 1 Replies View Related

Ubuntu Servers :: Apache Taking Too Long To Respond On Localhost

Jul 5, 2011

I am following this howto to install Apache, MySQL, and PHP5:

[URL]

I have just installed Apache and I am pointing my browser to:

http://192.168.0.100

but I am getting the error message that the server is taking too long to respond.

View 1 Replies View Related

Ubuntu Servers :: Apache From Localhost Can't Reach Internet / Resolve This?

Jul 11, 2011

I've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!

View 9 Replies View Related

Fedora Servers :: Change The Http://localhost/ To Own Name?

Feb 24, 2009

how do i change the http://localhost/ to my owe name

View 1 Replies View Related

Fedora Servers :: Unable To Connect To The Localhost

Jul 13, 2009

I'm trying to connect to url, but the browser is unable to connect to the localhost; my OS is F11, if someone have encounter this problem? i was able to connect to the localhost when i had F6 OS.?

View 3 Replies View Related

Fedora Servers :: Localhost Ties Up Port 80

Jul 25, 2009

I have an installation of Fedora 10 that has been running wonderfully for months, ever since I bombed my 9 installation trying to install Apache Tomcat (I really just wanted Apache, live and learn). I finally decided to brave the attempt to install Apache 2.2 again because I have a little more instruction to go by. Apparently not enough to deal with this snag though, at least not the way I want.

Install went fine, but I couldn't start the service. Following the error trail I found that it was binding IPv6 to port 80 and wouldn't allow any other ip or localhost to use it. I disabled IPv6, don't need it, I'll learn about it later.

View 5 Replies View Related

Fedora Servers :: Postfix Only Listening On Localhost ?

Oct 27, 2009

I am trying to get my own email server set up, and so far its been going pretty smooth, The only thing that is not working right now is receiving emails. I can send email just fine, and when they are sent they are even sent from the proper addresses, but when I try to send an email to my domain, it does not go through.

I have the port forwards set up on my router to send all traffic on port 25 over to my mail server, I can telnet to the smtp server from the localhost just fine, but when I try to telnet from another computer on my network it gives me this message

Quote:

So I ran a netstat -an on my mail server to see what ip address smtp is listening on and I get this result


Quote:

Now most guides I find for this problem just say to un comment the line in the master.cf that says "smtp inet n - - - - smtpd", the problem is that line is already uncommented and I am still not able to telnet to port 25 from any machine on my network.

Here is my main.cf, tell me if there is anything that I can do.

Quote:

View 3 Replies View Related

Fedora Servers :: Squirrelmail: Can't Access Localhost

Jun 1, 2010

I'm running Fedora 12 on x86_64. I've installed squirrelmail, along with dovecot on my office server, and cannot access it through http://localhost/webmail. I have followed all the configuration steps I could find (including http://www.server-world.info/en/note...12&p=httpd&f=7).

I know that everything else is working (I can send and receive mail, access IMAP mailboxes, webserver is working), browsing to

http://localhost/webmail

just gives me

"Problem loading page"

in Firefox. Sometimes, however the message is "Unable to connect."

I will add that I already tried installing Squirrelmail on another (i686) machine and had exactly the same problem.

/var/log/httpd/error_log says:

File does not exist: /var/www/html/squirrelmail

This makes it seem like aliasing is not working somehow.

View 3 Replies View Related

Fedora Servers :: Simulate A VH Through A Localhost With A Dynamic IP?

Nov 16, 2010

For backup and pre-functionality purposes, I need to simulate a VirtualHost in my Fedora (14) machine. I found some interesting links to carry out that process but with an IP fix.So, how can I simulate a VH through a localhost with a dynamic IP?

View 2 Replies View Related

Ubuntu Servers :: Setup A Localhost In System - Phpmyadmin Access Not Granted

Jul 3, 2011

i setup a localhost in my system. but am not getting access to the phpmyadmin by entering the user name and password i entered at the time of set up. the /etc/phpmyadmin/config-db.php file is shown below.

<?php
##
## database access settings in php format
## automatically generated from /etc/dbconfig-common/phpmyadmin.conf
## by /usr/sbin/dbconfig-generate-include

[code]....

when i access http://localhost/phpmyadmin/ , the login screen appears but entering the username and password as in the file gives the error #1405 cannot log into mysql server.

View 3 Replies View Related

Fedora Servers :: Dovecot Stopped Getting Localhost Mail?

Oct 23, 2010

Last time I rebooted, sendmail & dovecot started from init and everything worked. I needed to reboot this weekend [new videocard] & yum had given me a new kernel etc.Now.2.6.34.7-56.fc13.i686 running Thunderbird - with 2 accounts chuck@otherserver.com and chuck@localhost.
The "otherserver" account works fine. Localhost won't pull in the mail.

/var/log/maillog says
dovecot: pop3-login: Login: user=<chuck>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: POP3(chuck): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

[code]....

View 2 Replies View Related

OpenSUSE Network :: Proftpd Localhost Connection Doesn't Work

Feb 25, 2011

I got everything working except any localhost connections from within the server. I've tried to connect using localhost, 127.0.0.1, and dedicated IP from within the server and several CMS sites I have moved over to the server and all the local host connections fail.

View 9 Replies View Related

Debian :: Localhost Servers Gracefully Shutting Down Upon System Shut Down

Jul 28, 2015

Do active localhost server instances automatically gracefully shutdown upon system shut down?

View 1 Replies View Related

Fedora Servers :: Access Localhost Through Browser After Installing PhpMyadmin

Jan 30, 2010

i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.

View 1 Replies View Related

Ubuntu Servers :: Access Denied For User 'root'@'localhost' / Set The Password During Installation Process?

Dec 14, 2010

I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 8 Replies View Related







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