Skip to content

Error in requests.post using static IP #17753

Discussion options

You must be logged in to vote

Try using '95.211.196.91' instead of 'hub.mediflow.gr'

You can also try this:

IP, NM, GW, NS = wlan.ifconfig()
SIP = '192.168.4.4' # Change to your static IP
NNS = '1.1.1.1'
wlan.ifconfig((NIP, NM, GW, NNS))
ping('95.211.196.91')
ping('hub.mediflow.gr')

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@shariltumin
Comment options

@ekostero59
Comment options

@shariltumin
Comment options

Answer selected by ekostero59
@ekostero59
Comment options

@shariltumin
Comment options

@ekostero59
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants