Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If you're binding a port, try one above 5000.
If not, what's the specific issue? -
jpl20944y@SortOfTested I tried that but sadly it didn’t seem to work. Basically what’s going on is I’m creating a tcp server and every time I try to run the program, windows firewall attempts to block it and I have to manually give it access via admin privileges.
-
jpl20944y@jpl20 After writing out I found out what exactly I needed to google to fix it 🍻
https://stackoverflow.com/questions...
Thanks for your help anyway @SortOfTested ! -
@jpl20
Ah, yeah. Modify the run instruction to use "runas /user:administrator {exename} {anyotherargs}"
If you need to, use a script to launch it.
That will at least make it to where the elevation is automatic.
Edit; was typing when you responded. Glad youre g2g -
@elgringo
Over 5000 you're generally safely out of range of explicitly or conventionally reserved ports. Excepting notables like appletalk which used to bind 9000.
Related Rants
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
isaacWeisberg21Me and my wife are software engineers Started dating while doing a project together I guess you could say that...
-
JMoodyFWD48My "Coding Standards" for my dev team 1.) Every developer thinks or have thought their shit don't stink. If y...
Hey y’all! I’m having a good time with golang so far! However, it’s so damn frustrating to have to give it admin permissions every time I need to restart my program when making anything with networking. Is there any work arounds to this without giving my account admin?
question
mac
golang
win 10
networking
web development
go