All the disciples were either there in several places, or going thither, according to Christ's direction before mentioned: but either these seven were there before the rest; or else they lodged together, or near one another; so as these only are here mentioned as being together at this time, and so witnesses of this miracle which followeth.
Related Commentaries of John 21:2
John 21:2
2 There were together Simon Peter, and Thomas called Didymus, and Nathanael of Cana in Galilee, and the sons of Zebedee, and two other of his disciples.