• Resolved taughttoxique

    (@taughttoxique)


    Hello everyone, I’m coming here since I can’t find an answer to my question.

    My website is working super fine with a standard LAMP CentOS 6.2 Linux server. So, as you guessed, it’s running on port 80.

    Now, I wish to have it run on port 8080, but weird things start to happen. When I query the website, I get nothing.

    At this point, it might be my apache configuration that’s causing this, but I don’t think so, because if I move all my website files away and create a simple index.php, it will return me its content no problem.

    So, if I do
    curl www.mywebsite.com:8080
    It will return me the content of the new index.php file.

    Now, if I move back all my website files and type
    curl www.mywebsite.com:8080
    Well curl with return me an empty string. If I try it on port 80, it will return me an error, but on port 8080 it simply returns… nothing!

    If I change my Apache virtual host configuration file to have the website work on port 80, everything will be fine once again.

    I feel like I’m missing something obvious. Can anyone help me please?

    Thank you!

Viewing 1 replies (of 1 total)
  • Thread Starter taughttoxique

    (@taughttoxique)

    Of course, after days of looking how to fix this, I found the solution right after posting.

    The problem was that I did not adjust the worpdress settings.

    To do this, log in as an administrator, go under Settings, and adjust both WordPress Address (URL) and Site Address (URL) so they look like :

    http://www.mywebsitesite.com:8080

    Thanks anyways 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Can't connect to website on port 8080’ is closed to new replies.