# Socket not connecting, using tutorial 'PHP 5 Sockets with Flash 8'

**URL:** <https://forum.kirupa.com/t/socket-not-connecting-using-tutorial-php-5-sockets-with-flash-8/208207>\
**Category:** Uncategorized\
**Created:** [November 26, 2006, 12:21pm UTC](https://forum.kirupa.com/t/socket-not-connecting-using-tutorial-php-5-sockets-with-flash-8/208207 "2006-11-26T12:21:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnbvcxz](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mnbvcxz](https://forum.kirupa.com/u/mnbvcxz)\
**Post date:** [November 26, 2006, 12:21pm UTC](https://forum.kirupa.com/t/socket-not-connecting-using-tutorial-php-5-sockets-with-flash-8/208207/1 "2006-11-26T12:21:10Z")

</div>

hi,  
i have made followed the tutorial on this site named\*\* ‘PHP 5 \*\*Sockets with Flash 8’, i managed to write the actionscript and pasted the php as instructed, the socketrun.bat is working and a connection to the server is made, i have opened a port. BUT THEN…

as i try to run the flash.html file (which contains the swf) from the local server i.e localhost/flash.html, the swf doesn’t display anything within the msgArea, it should connect to the socket, but instead i get nothing, no success message, no failure message. all it says is _connecting to 198.168.1…_ on the bottom of the broswer. which indicates that its still trying to connect to the port but nothing is being sent back _ **I THINK** _. im really lost as to what this is all about.

this is the tutorial im using.

[http://www.kirupa.com/developer/flash8/php5sockets\_flash8.htm](http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm)

thank you
