Page 1 of 1

remote access xampp

PostPosted: 25. February 2009 11:44
by zodehala
i installed xampp on centos 5.2.but i can not access it from remote. why ? (e.g : http://192.168.1.50/phpmyadmin)

Re: remote access xampp

PostPosted: 25. February 2009 11:53
by Wiedmann
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?

Re: remote access xampp

PostPosted: 26. February 2009 15:40
by zodehala
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.

Re: remote access xampp

PostPosted: 26. February 2009 16:09
by Wiedmann
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?)

Re: remote access xampp

PostPosted: 26. February 2009 17:16
by zodehala
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