running xampp, cannot connect remotely to http,ftp
location: ubuntuforums.com - date: December 27, 2011
I installed xampp last night which went smoothly however, now I can only access ftp/http on the local machine. I can connect only internal, 127.0.0.1, http://localhost, my LAN IP. I can connect in http, ftp, but as soon as I try to login from a remote machine on a different ip,which is also in my LAN, I fail .
Kindly help me to solve....
Cannot connect to X server remotely
location: ubuntuforums.com - date: March 30, 2009
Hi there. I would like to know how I allow connections to the GNOME X server. I can't use SSH to forward the X11 packets, because SSH is not installed on the remote system and I don't have root access to install it. I have set DisallowTCP=false in /etc/gdm/gdm.conf, restarted GDM, run xhost +, and set the DISPLAY variable on the remote machine. Using Wireshark I found that packets were being sent to my Ubuntu machine for port 6000, but there were no replies to the remote machine. However, if I try to connect to port 6000 from and to my local Ubuntu machine a connection is established. What am I missing? Any help would be appreciated, because I am at a loss as to what is wrong.
Remote mySQL connection throws “cannot connect to MySQL 4.1+ using the old insecure authentication” error from XAMPP
location: linuxexchange.com - date: June 8, 2013
I'm running a local copy of WordPress on XAMPP/WinXP for development, but would like to maintain a connection to the remote database. I keep getting "Error establishing database connection" no matter what I try.
On the same PC, I can connect to the remote mySQL DB using any number of mySQL clients, and on the mySQL side, the both the user and the database are set to accept incoming requests from any wildcard domain. I can also easily ping the remote database server from my PC (though I don't know how to do it from WITHIN XAMPP).
Is XAMPP its own little universe that can't reach through to the outside world? Or is there something I'm clearly overlooking that's not letting me connect?
Warning: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:553) in C:\xampp\htdocs\dbtest.php on line 5
Warning: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected in C:\xampp\htdocs\dbtest.php on line 5
Cannot connect to PostgreSQL Remotely on Amazon EC2 instance using PgAdmin
- date: July 22, 2013
I have a micro free tier RHEL 6 instance running and have postgresql 9.2 installed using the yum instructions here:
And I am able connect to the PG server locally using this on server:
03:46:20 [email protected]
[~]$ psql -hlocalhost -p5432 -Upostgres
However i've never successfully connected to it outside of box. The error message looks like:
12:11:56 [email protected]
[~]$ psql -h ec2-xxx.ap-southeast-1.compute.amazonaws.com -p5432 -Upostgres
psql: could not connect to server: Connection refused
Is the server running on host "ec2-54-251-188-3.ap-southeast-1.compute.amazonaws.com" (126.96.36.199) and accepting TCP/IP connections on port 5432?
I've tried a bunch of different ways. Here's how my configure files look now:
# - Connection Settings -
listen_addresses = '*' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localh
cannot connect to X server :0.0
location: linuxquestions.com - date: March 14, 2006
Ahhhh man, I've spent so many hours searching for an answer on google and here! I hope some one can help me.
I have a chrooted environment that I have set up on a few different computers. I need to run xwindows applications and on some of the it works and on some it doesn't. When it doesn't work, say for instance I am trying to start emacs, I get this error:
[SOLVED] Windows 7 Client Cannot Connect to Samba 3.6.3 on Ubuntu
location: linuxquestions.com - date: December 7, 2012
Hello, I am running Samba 3.6.3 on Ubuntu 12.04 to act as a sort of local file server here at home. Please review the configuration file below:
Cannot connect to archive.getdeb.net
location: ubuntuforums.com - date: December 22, 2009
Starting yesterday (21-Dec), I am unable to connect to or even successfully ping archive.getdeb.net. I need it for Karmic application updates. All of my other software sources seem to be working just fine. It is resolving to 188.8.131.52
I thought I would see lots of posts on this problem, but it looks like no one else is having it. Any ideas about what is going on?
Cannot connect to game server
location: linuxquestions.com - date: February 15, 2013
Router/Gateway: ClearOS 6.3
Debian host, where OpenVZ has been installed.
VPS: Ubuntu 12.04 as game server, with Wine (no native linux server part for the game in question)
My problem is:
I simply cannot connect to my game server through my internal IP, nor can my friends connect through my external IP.
The server itself shows up in the game's server browser. But when people click "connect" they just get stuck at loading.
The game in question would be Chivalry Medieval Warfare, and I've followed this guide to get the server up and running.
Port forwarding has been done for port 7777, 7778 and 27015.
I don't believe that is the issue, since external connections with SSH and also HTTP work just fine.
I've looked in syslog, and messages, but none of these give me a hint of what might be wrong.
I've disabled the firewall on my Ubuntu (I think):
Problem with running xampp on Ubuntu
location: ubuntuforums.com - date: February 8, 2012
I wanted to run run WordPress in my localhost on Ubuntu 11.10 x64 using xampp, and every time I try to use it I get this error:
error establishing a database connection
Here what I did so far,
I downloaded xampp-linux-1.7.7.tar.gz
extract xampp and install it
$ sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
Then launch xampp and stop it via Terminal
sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp stop
Then I headed to Worpress file and renamed file wp-config-sample.php to be wp-config.php
Then editing the file itself, wp-config.php
define(‘DB_NAME’, ‘wordpress’); (I named my database wordpress)
/** MySQL database username */ (my username)
define(‘DB_USER’, ‘root’); (as default)
/** MySQL database password */
define(‘DB_PASSWORD’, ”); (added my password)
/** MySQL hostname */ (as default)
define(‘DB_HOST’, ‘localhost’); (as default)
After that I created a database named wordpress on phpmyadmin.
[SOLVED] cannot connect to mysql through php in ubuntu 10.04
location: linuxquestions.com - date: April 16, 2013
I am using Ubuntu 10.04. Installed Apache 2.4, php 5.4 & Mysql 5.6 from source.
Apache installation path: /home/tarun/apache
Php Installation Path: /home/tarun/apache/php
Mysql Installation Path: /usr/local/mysql
httpd daemon is up and running ,php is called by Apache server when it encounters php file. I can login in Mysql through terminal & can edit, create tables.
PhpMyAdmin is also installed properly and it connects to database successfully.
But when I called mysql_connect() through php script then it throws Fatal error that mysql_connect is undefined. I tried to find mysql.so in apache,php and mysql installation folders but unable to find it."php -i" shows mysqli is enabled.Phpinfo() also shows Mysqli is enabled. "php -m" gives output:
Page: 1 2 3 4 5 6 7 8 9 10