Discussion Forum: Thread 315633

 Author: rmfloris View Messages Posted By rmfloris
 Posted: Jan 12, 2022 05:05
 Subject: Allow any IP to use the bricklink API
 Viewed: 76 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

rmfloris (42)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
Jul 13, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brick Gatherer
Is it possible to allow any IP to access the bricklink API? I read you had to
set it to 0.0.0.0. I tried this, but I still get a 401, not allowed response.

The reason is that I work from a cloud host, which changes their IP quite regularly.
This results in me updating the key/ip combination each time.
 Author: rmfloris View Messages Posted By rmfloris
 Posted: Jan 12, 2022 13:59
 Subject: Re: Allow any IP to use the bricklink API
 Viewed: 23 times
 Topic: Help
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

rmfloris (42)

Location:  Netherlands, Utrecht
Member Since Contact Type Status
Jul 13, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brick Gatherer
So I found out the error I made. Both the IP range and the IP mask need to be
set to 0.0.0.0. Once done, it works perfectly.


In Help, rmfloris writes:
  Is it possible to allow any IP to access the bricklink API? I read you had to
set it to 0.0.0.0. I tried this, but I still get a 401, not allowed response.

The reason is that I work from a cloud host, which changes their IP quite regularly.
This results in me updating the key/ip combination each time.