Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

I can't go to same page again if i already visited it. #514

Description

@technicave

Describe the problem
I'm creating a software ui with eel and getting problem in switching web pages. if i visited a html page already then i can't visit it again. Its saying connection refused.

Code snippet(s)
``

  • I know that if I don't provide sample code that allows someone to quickly step into my shoes, I may not get the help I want or my issue may be closed.
import eel
import socket
from tkinter import Tk , messagebox as mb


def networkCheck():
    try:
        socket.create_connection(("1.1.1.1", 53))
        eel.init("web")

        @eel.expose
        def getIPaddress():
            IPs = socket.gethostbyname(socket.gethostname())
            port = 5500
            return IPs
            return port

        @eel.expose
        def getPort():
            port = 5500
            return port

        eel.start("index.html")

    except OSError:
        Tk().withdraw()
        mb.showerror(title="Internet!!", message="Check your internet connection")



if __name__ == '__main__':
    
    networkCheck()
    






...


**Desktop (please complete the following information):**
 - OS: [Windows 7]
 - Browser [chrome,]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions