Jump to content

Recommended Posts

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

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?

Edited by Ch0cu3r

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.