Page 1 of 2

xampp 1.8.3 ports

PostPosted: 19. January 2014 12:17
by rickeboii
Hello! I have a question. Is it possible to use port 8080 without 8080 in the ending of the domain? Like http://mydomain.com not http://mydomain.com:8080

Sorry for my bad english

Re: xampp 1.8.3 ports

PostPosted: 19. January 2014 12:31
by Altrea
Hi.

The answer is no. If you are using the http protocol the used port is defined by the official port 80 for this protocol.
If you want to use http with a different port, you have to add it to the domain.
Otherwise how should your browser know which service to request?

best wishes,
Altrea

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 07:04
by rickeboii
If i add it to the domain. Can i still use cloudflare then? I dont want them to see my ip.

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 07:11
by Altrea
XAMPP is not supported for live, production or public accessible environments.

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 07:44
by rickeboii
So they will see my ip if i fix Another port?

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 11:35
by Nobbie
rickeboii wrote:So they will see my ip if i fix Another port?


Strange question. Do you see an IP here:

http://mydomain.com:8080

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 17:00
by rickeboii
No, but i dont want them to type 8080 after the domain..

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 17:16
by Altrea
The answer is still the same:
If you want to use HTTP and don't want to add any port to the domain, you MUST use port 80

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 18:17
by rickeboii
Okay, cause i know some people that use like 8047 and it works fine..

Re: xampp 1.8.3 ports

PostPosted: 20. January 2014 18:46
by Altrea
Okay fine. Now you are the expert on that behavior and i am out 8)

Re: xampp 1.8.3 ports

PostPosted: 21. January 2014 14:30
by rickeboii
Thanks for the help. Is it possible to forward a domain to mydomain.com:8080

Re: xampp 1.8.3 ports

PostPosted: 21. January 2014 17:17
by Nobbie
rickeboii wrote:Okay, cause i know some people that use like 8047 and it works fine..


It does not work, if 8047 is not applied in the URL. Port numbers must be specified in the URL, it is omitted, the browser takes port 80. You CANNOT use Port 8047 and omit it in the URL. Thats all.

Re: xampp 1.8.3 ports

PostPosted: 21. January 2014 17:18
by Nobbie
rickeboii wrote:Thanks for the help. Is it possible to forward a domain to mydomain.com:8080


Of course, but after forwarding (i.e. "forward" is not the right word for it, it is called "redirect"), so after redirecting the browser URL changes to mydomain.com:8080

Re: xampp 1.8.3 ports

PostPosted: 21. January 2014 22:03
by rickeboii
So, should i forward a site to mydomain.com:8080 or just mydomain.com?

Re: xampp 1.8.3 ports

PostPosted: 21. January 2014 22:06
by Nobbie
rickeboii wrote:So, should i forward a site to mydomain.com:8080 or just mydomain.com?


If you forward to mydomain.com (only), then mydomain.com must run on port 80.