Filament v3 exporter xlsx

I have a web application running on my local machine, and it works perfectly when I access it on the same laptop using http://127.0.0.1:8000/filament/exports/14/download?format=xlsx. However, when I try to access the same application from another laptop in the same network, I get the following error: This site can’t be reached
The webpage at http://127.0.0.1:8000/filament/exports/14/download?format=xlsx might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
10 Replies
KoksAgent
KoksAgent2w ago
Are you trying to use the url from the first laptop that runs the webpage on a other laptop without changing the url 127.0.0.1 is a local loopback address. If you want to access the hosted page from the other laptop you have to change the url to use the ip of the laptop that is hosting your website.
DariusIII
DariusIII2w ago
If you don' know what loopback address is, read 127.0.0.1 as "This computer".
Jospeh
JospehOP2w ago
Both laptops have the same local IP address. When I download as a CSV file, there is no issue. However, when I click the button to download as an XLSX file, this error occurs. The APP_URL in the .env file is the same on both laptops.
DariusIII
DariusIII2w ago
You have same app on different laptops? AKA, 2 development laptops?
Jospeh
JospehOP2w ago
Yes
DariusIII
DariusIII2w ago
Enable debuggin in .env and set app as local so you have more meaningful errors
Jospeh
JospehOP2w ago
The project runs without any issues on both laptops. The problem only occurs with the XLSX download button in the Filament exporter.
DariusIII
DariusIII2w ago
But you will not know what causes the error without checking the logs and enabling debugging
Jospeh
JospehOP2w ago
İ ll check it all Again
Ye Thi Ha Htwe
I had the same issue and fixed it by disabling the antivirus. 😀
Want results from more Discord servers?
Add your server