Giter Site home page Giter Site logo

Comments (7)

Rendt avatar Rendt commented on June 7, 2024 2

Have you found a fix? I encountered the same results with a fresh installation on Windows 10.

from instantwp.

ecations avatar ecations commented on June 7, 2024 2

I managed to find a solution using firefox and the network.security.ports.banned.override command. First I tried to change the PortOffset parameter from IWP but for some reason that didn't work for me. I outlined the solution in more detail here:
https://www.oneminutevideotutorials.com/2021/06/21/how-to-keep-using-port-10080-after-many-browsers-block-it-as-an-unsafe-port/

from instantwp.

nullandvoidsky avatar nullandvoidsky commented on June 7, 2024 1

I had the same problem and I've found an easy solution. THIS WORKS!

I use chocolatey (in Windows PowerShell) to install and maintain packages on my Windows 10 system.
https://chocolatey.org/install

I suspected that the issue was related to permissions, so after messing around with various solutions that were suggested online and still having the issue... I wen't back to the start, uninstalled instantwordpress, and installed it again... then, instead of running the Start-InstantWP.bat from anywhere else I stayed in my Powershell console window (Run as Administrator)... changed to the appropriate directory, and ran Start-InstantWP.bat

It appears as though the administrative permissions that I used to install InstantWP in the Powershell console, were also what Start-InstantWP.bat needed to set the correct permissions for all my browsers to be able to access 127.0.0.1:10080 without any problems.

Screenshot (453)
Screenshot (454)

from instantwp.

ecations avatar ecations commented on June 7, 2024

Same problem here. It used to work but now both Chrome and Firefox complain about an unsafe port..

from instantwp.

essexgit avatar essexgit commented on June 7, 2024

I managed to find a solution using firefox and the network.security.ports.banned.override command. First I tried to change the PortOffset parameter from IWP but for some reason that didn't work for me. I outlined the solution in more detail here:
https://www.oneminutevideotutorials.com/2021/06/21/how-to-keep-using-port-10080-after-many-browsers-block-it-as-an-unsafe-port/

Any joy yet?
I tried several offset values (8000, 20000) the error changes to ERR_CONNECTION_REFUSED.

from instantwp.

popsy-blue avatar popsy-blue commented on June 7, 2024

Some ports are blocked by the browsers (same happening with Safari).

Workaround:

  1. Choose a different offset (e.g. 24999) and calculate the HTTP Port as offset + 80 (e.g. 25079)
  2. Start InstantWP
  3. Log into MySQL Admin (from the InstantWP console)
  4. Open in the "wordpress" database the table "wp_options"
  5. Change the values of "siteurl" and "home" to show the calculated port (e.g. 25079 instead of 10080)
  6. Re-Start InstantWP

from instantwp.

J8cob1 avatar J8cob1 commented on June 7, 2024

Some ports are blocked by the browsers (same happening with Safari).

Workaround:

1. Choose a different offset (e.g. 24999) and calculate the HTTP Port as offset + 80 (e.g. 25079)

2. Start InstantWP

3. Log into MySQL Admin (from the InstantWP console)

4. Open in the "wordpress" database the table "wp_options"

5. Change the values of "siteurl" and "home" to show the calculated port (e.g. 25079 instead of 10080)

6. Re-Start InstantWP

When applying @popsy-blue 's solution, don't change the portOffset in the config file at first. Open up the port as described in the article @ecations mentioned (https://www.oneminutevideotutorials.com/2021/06/21/how-to-keep-using-port-10080-after-many-browsers-block-it-as-an-unsafe-port/) so you can access MySQL Admin. Then, do the steps in the solution (you can probably skip step 6). When you are done, change the portOffset in the config file then restart.

from instantwp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.