whiterook6
Member
Posted 2 years ago #
Hi, I've just discovered that my isp blocks port 80 (of course it does.) I changed my server to run on port 8080. going to
http://www.address.com:8080
successfully takes me to my index page. But WP is installed under /blog/, and typing
http://www.address.com:8080/blog/
does nothing but time out. I figure it has to do with the settings under admin/general/ where you set the default link base, but of course I can't access the control panel (or even login) to make the change. I tried changing the server back to port 80 but it says it can't bind there for some stupid reason, so it looks like I'm stuck with port 8080. What should I do?
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
What should I do?
Honestly and without malice... get a web host. If your ISP blocks port 80 it is probably because they don't want you running a web server over their connection, which probably means that what you are doing is at best questionably legal and likely will be fairly short lived, so you'll be starting over again soon anyway and have some fines and fees to deal with. Your connections is going to be slow and very few home computers can keep up with server hardware. Plus, you'll need a static IP which most ISPs don't provide and if you start asking for one they are going to start asking 'Why?'. Then if they give you one they'll charge you an extra fee that will likely come close to what you'd pay for a cheap host anyway. And that is before dealing with this other problem with port 8080.
whiterook6
Member
Posted 2 years ago #
Sure. Can you recommend any web hosts that don't place banner ads, that offer plenty of storage, that let you use php/mysql, and that don't care what content you post or how often you use their forums?
Oh and there's the free part too.
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
If you don't want banner ads you'll probably have to pay, but you are almost certainly going to pay for a static IP anyway or your project isn't going to work. Many very cheap hosts offer decent storage and php/mysql. If you can pay for an internet connections surely you can pay five, six, seven dollars a month for hosting? Or maybe someone else is paying for your connection? That is going to be costly when you get their account canceled and maybe trigger fines. Your host isn't going to care what kind of content you post so long as it isn't illegal, but if its illegal content you've got then good luck. No idea what you mean about forums. Other than support forums devoted to billing/technical/account problems my hosts don't have forums at all. Sounds like you want something for nothing despite being able to get a lot for very little. Good luck with that.
whiterook6
Member
Posted 2 years ago #
That sucks. I'd still like to know how to get around this port thing.
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
I'm sure it can be done. I do maintain that it is not advisable. You might look into MAMP configuration instructions, since if I remember correctly MAMP uses a non-standard port by default.
I tried changing the server back to port 80 but it says it can't bind there for some stupid reason, so it looks like I'm stuck with port 8080.
What should I do?
You may want to verify that you don't have another server listening on port 80 which is preventing you from binding to the port.
Otherwise, without access to the wp admin panel, you could try manually editing the database to change the URL. The value you'll want to update is in the 'wp_options' table with the option_name of 'siteurl'. Update the option_value to include the port number in the URL and that should do it.
davide73
Member
Posted 2 years ago #
WordPress has a bug; you can't use it for a non 80 TCP port.
That's because they use $_SERVER['HTTP_HOST'] instead of
$_SERVER['HTTP_HOST'].":".$_SERVER['HTTP_PORT']