remote access xampp

Problems with the Linux version of XAMPP, questions, comments, and anything related.

remote access xampp

Postby zodehala » 25. February 2009 11:44

i installed xampp on centos 5.2.but i can not access it from remote. why ? (e.g : http://192.168.1.50/phpmyadmin)
zodehala
 
Posts: 22
Joined: 08. August 2006 12:39

Re: remote access xampp

Postby Wiedmann » 25. February 2009 11:53

i can not access it from remote

Maybe XAMPP is not running?

Did you have an error message in your browser, the error.log or the access.log regarding this request?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: remote access xampp

Postby zodehala » 26. February 2009 15:40

it is stoped and than i ru them using following command
Code: Select all
/opt/lampp/lampp start


than in order to access PMA http://192.168.1.50/phpmyadmin but following error occur in Firefox

Code: Select all
The connection was refused when attempting to contact 192.168.1.50.
zodehala
 
Posts: 22
Joined: 08. August 2006 12:39

Re: remote access xampp

Postby Wiedmann » 26. February 2009 16:09

than in order to access PMA http://192.168.1.50/phpmyadmin but following error occur in Firefox

Maybe there is a firewall on the XAMPP pc.

(the ip 192.168.1.50 is correct? You can access phpMYAdmin with localhost?)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: remote access xampp

Postby zodehala » 26. February 2009 17:16

Wiedmann wrote:
than in order to access PMA http://192.168.1.50/phpmyadmin but following error occur in Firefox

Maybe there is a firewall on the XAMPP pc.

(the ip 192.168.1.50 is correct? You can access phpMYAdmin with localhost?)

Code: Select all
[root@localhost ~]# iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0        udp dpt:53
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0        tcp dpt:53
    0     0 ACCEPT     udp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0        udp dpt:67
    0     0 ACCEPT     tcp  --  virbr0 *       0.0.0.0/0            0.0.0.0/0        tcp dpt:67

 152K  167M RH-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

    0     0 ACCEPT     all  --  *      virbr0  0.0.0.0/0            192.168.122.0/24    state RELATED,ESTABLISHED
    0     0 ACCEPT     all  --  virbr0 *       192.168.122.0/24     0.0.0.0/0
    0     0 ACCEPT     all  --  virbr0 virbr0  0.0.0.0/0            0.0.0.0/0
    0     0 REJECT     all  --  *      virbr0  0.0.0.0/0            0.0.0.0/0        reject-with icmp-port-unreachable
    0     0 REJECT     all  --  virbr0 *       0.0.0.0/0            0.0.0.0/0        reject-with icmp-port-unreachable

    0     0 RH-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 94183 packets, 65M bytes)
 pkts bytes target     prot opt in     out     source               destination


Chain RH-Firewall-1-INPUT (2 references)
 pkts bytes target     prot opt in     out     source               destination

 1583 2387K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0        icmp type 255
    0     0 ACCEPT     esp  --  *      *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     ah   --  *      *       0.0.0.0/0            0.0.0.0/0
   53 12738 ACCEPT     udp  --  *      *       0.0.0.0/0            224.0.0.251      udp dpt:5353
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0        udp dpt:631
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0        tcp dpt:631
 151K  165M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0        state RELATED,ESTABLISHED
    3   172 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0        state NEW tcp dpt:22
   97  9546 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0        reject-with icmp-host-prohibited
zodehala
 
Posts: 22
Joined: 08. August 2006 12:39


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 0 guests