xXMADEXx Posted January 27, 2014 Share Posted January 27, 2014 Hi guys. So, I started up my server and i'm making a script that uses fetchRemote on the client side, but for some reason when I use fetchRemote, it get the error "1006." This is what I put for the host: http://127.0.0.1:8080/Nerd_Gaming/downloads/ (I also tried http://localhost) and I keep getting error 1006 (Destination IP not allowed) which is weird because it's being hosted on my computer. I tried changing the web host from XAMPP to USBWebServer and I still get the error... Any suggestions on how to fix it? (Note: If I use this on the server side: fetchRemote ( 'http://localhost:8080/test.txt', response ) it works just fine, but says error 1006 on client side) Link to comment
Gallardo9944 Posted January 27, 2014 Share Posted January 27, 2014 "Note: Client side function only works with the server the player is connected to" - wiki. Using localhost clientside will attempt to read client's localhost, not the server's one. Link to comment
xXMADEXx Posted January 27, 2014 Author Share Posted January 27, 2014 "Note: Client side function only works with the server the player is connected to" - wiki. Using localhost clientside will attempt to read client's localhost, not the server's one. I said, I was using XAMPP and USBWebServer to host the web server. Link to comment
Gallardo9944 Posted January 27, 2014 Share Posted January 27, 2014 Try using your internal IP as a host. Link to comment
xXMADEXx Posted January 27, 2014 Author Share Posted January 27, 2014 Try using your internal IP as a host. Weird, it worked ._. Last time I used fetchRemote, it worked with localhost lol. Thanks. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now