I am trying to enter into my flutter app and it is showing this error,infact api is also working fine and getting the right response.but still facing SocketException: OS Error: Connection refused, errno = 111, address = "", port = 50000
            Asked
            
        
        
            Active
            
        
            Viewed 446 times
        
    1
            
            
        - 
                    Can you share your source code ? – Brutal Apr 01 '22 at 11:30
- 
                    pardon,but code is confidential,i cant share it – Ke1212 Apr 01 '22 at 12:17
- 
                    but i can tell you that this error was sudden otherwise it was working fine – Ke1212 Apr 01 '22 at 12:18
- 
                    where did you run your app? in simlator or real device? ios or android? Have you added internet permissions? – Brutal Apr 01 '22 at 12:28
- 
                    in both emulator and physical device ,with internet permissions given – Ke1212 Apr 01 '22 at 12:31
- 
                    does this help you https://stackoverflow.com/questions/55785581/socketexception-os-error-connection-refused-errno-111-in-flutter-using-djan – Ashutosh singh Apr 01 '22 at 13:13
