Setup method being called multiple times [solved]

In a nut sheel, I've got a project where I've got a web server sending data to my arduino, the arduino does some stuff with that data then sends different data back to my web server.
I don't the believe details are important.

This work perfectly fine when running it on my home desktop. When i set it up on my laptop I was having problems, the 'setup' function of the arduino sketch was being called twice for some crazy reason, before the loop function even finishes running. I don't know the reason, but all I did was lower the baud rate and it worked as it should on my laptop at home. Now, I've taken my project elsewhere (still on my laptop, different network) and for whatever reason it is once again calling setup multiple times before the loop function has even finished looping once.

I don't know if anyone has experience this, but I really need some help figuring this out ASAP because this project needs to be demo'd tomorrow, on my laptop, on this network. Please let me know if you need any pieces of code. Thanks!

When the setup is called multiple times it means the arduino crashed and is trying to restart. It's usually memory issues. Check your code.
Or a short in your hardware too possibly.

Ok, that's helpful to know thank you! Ok, so the arduino is probably restarting, but I have idea why. What might cause it to work just fine one on computer but not on the other? It's even restarting half way through a Serial.Println statement. It'll print some of the words then restart.

It does look like in that println is where it's consistently breaking. i'll post some code

Well, I saw that you said it may be a hardware issue, so I took my hardware apart and put it back together and now it's working. That was a wasted 1.5 hours of debugging -_- thank you so much!