nightkarnation Posted November 22, 2013 Share Posted November 22, 2013 Hey guys, I am using wamp to test some php files... Currently my wamp is set up on my 82 port, so I have to reference like this: http://localhost:82/test/test.php The problem is that I am linking the php file with actionscript and actionscript doesn't allow me to use a port number, Is there another way I can type http://localhost:82/test/test.php and load it? Thanks a lot in advance! Link to comment https://forums.phpfreaks.com/topic/284177-php-url-without-port-on-it/ Share on other sites More sharing options...
Ch0cu3r Posted November 22, 2013 Share Posted November 22, 2013 Any reason you run your server on port 82. The standard port for HTTP servers is port 80. If your server is not running on port 80 then you need to define the port in the url. Why cant you use port in actionscript? Link to comment https://forums.phpfreaks.com/topic/284177-php-url-without-port-on-it/#findComment-1459591 Share on other sites More sharing options...
nightkarnation Posted November 23, 2013 Author Share Posted November 23, 2013 I run it on 82 because I have Flash Media Server running on 80. I made a mistake on the php file and actionscript was having trouble reading it back, Thanks for your reply. Cheers, Link to comment https://forums.phpfreaks.com/topic/284177-php-url-without-port-on-it/#findComment-1459682 Share on other sites More sharing options...
Irate Posted November 23, 2013 Share Posted November 23, 2013 I'm pretty sure you can configure your Flash Media Server to run on another port. Link to comment https://forums.phpfreaks.com/topic/284177-php-url-without-port-on-it/#findComment-1459744 Share on other sites More sharing options...
jazzman1 Posted November 24, 2013 Share Posted November 24, 2013 Set a proxy connection in your browser for this URL (localhost) to port 82 instead the default one 80. Then, you will be able to reach this localhost at addresses: http://localhost:82/test/test.php OR http://localhost/test/test.php Link to comment https://forums.phpfreaks.com/topic/284177-php-url-without-port-on-it/#findComment-1459789 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.