How to change live preview's default port? #2260
-
i need to change live preview port to 8080 so i can reach it on my other mobile devices too. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
hey @TeknolojiGezgini, you can use the 'custom development server' option in the Live Preview settings to point Phoenix to your own server running on port 8080. that should work across devices. For more info, please refer to this documentation |
Beta Was this translation helpful? Give feedback.
-
Hi @TeknolojiGezgini — Live Preview is currently restricted to localhost due to security considerations. Since it can control the editor, access from external hosts is disabled to prevent potential misuse. For external devices, we may need to implement a secure pairing mechanism with the editor, which is not yet available. This is now being tracked here: #2263 |
Beta Was this translation helpful? Give feedback.
Hi @TeknolojiGezgini — Live Preview is currently restricted to localhost due to security considerations. Since it can control the editor, access from external hosts is disabled to prevent potential misuse.
For external devices, we may need to implement a secure pairing mechanism with the editor, which is not yet available. This is now being tracked here: #2263