# Desperated Flash 8 PHP 5 Socket Connection

**URL:** <https://forum.kirupa.com/t/desperated-flash-8-php-5-socket-connection/213865>\
**Category:** flash\
**Created:** [January 23, 2007, 8:58pm UTC](https://forum.kirupa.com/t/desperated-flash-8-php-5-socket-connection/213865 "2007-01-23T20:58:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mexmayers](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mexmayers](https://forum.kirupa.com/u/mexmayers)\
**Post date:** [January 23, 2007, 8:58pm UTC](https://forum.kirupa.com/t/desperated-flash-8-php-5-socket-connection/213865/1 "2007-01-23T20:58:22Z")

</div>

First of all thank you very much for this Tutorial: [http://www.kirupa.com/developer/flash8/php5sockets\_flash8\_5.htm](http://www.kirupa.com/developer/flash8/php5sockets_flash8_5.htm)  
It’s great! Nevertheless i got some questions.

I got an Apache 2.2.0 (XAMPP) installed as localhost on my notebook plus an internet connection via WiFi-Router.

I took all the steps concientiously. The socketTut.bat seems to work. But the FlashApp says: “Server connection failed!”

1. Do i have to start my local apache server anyway, before I invoke the socketTut.bat?

2. Wich IP do I have to use in AS and PHP Script?  
Localhost, 127.0.0.1 …, or the IP refered by the router e.g. 192.168.0.xxx ???

I must admit, Im a PHP-Socket-Virgin 🐇

Thankzzz…
