I am running a local MAMP server on a macbook for html pages. These pages work OK on Chrome and Safari. I can't seem to read these pages from the browser widget in LC ?
What is the syntax to read from local server ?
Sorry, I tried to put an example of what I tried but I get this error when I include my syntax in this message >>> Your account does not have permission to post links or domain/page references.
The browser widget does work when I set the URL to Google -- so I know it works.
thanks for any help,
can't use localhost in browser widget
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
can't use localhost in browser widget
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
Re: can't use localhost in browser widget
I got it to work using 127.0.0.1 as IP instead of localhost or IP of computer !
Now I just need to get it to fit properly in the browser window... The html is made for television (1920x1080px) but I wan't to display it in a small browser window in my app. I'll create a new topic....
Now I just need to get it to fit properly in the browser window... The html is made for television (1920x1080px) but I wan't to display it in a small browser window in my app. I'll create a new topic....
Livecode Indy 9.6.11 (Stable)
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
MacOS Sonoma 14.2
Xcode 15.0.1 SDK 17.0
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: can't use localhost in browser widget
Use localhost with the port number:
This is the default setting for MAMP (Mac). You can change the port number 8888 in MAMP's prefs to another one.
___
You can post URLs after reaching a certain number of posts.
Code: Select all
set the URL of widget "browser" to "http://localhost:8888"
___
You can post URLs after reaching a certain number of posts.
shiftLock happens